Visual Studio 2012中的错误日志不明确

时间:2015-03-15 06:44:46

标签: c++ visual-studio-2012

我不记得我何时开始在日志输出窗口中看到它,但它看起来像这样:

[08:37:09.00705- 10692] MyProgram.exe dbglog.cpp(110)       DbgLog_F                       Log for module 'game' (93154) started with process 'MyProgram.exe' (x86, PID: 16632, CmdLine: "R:\Cache\Visual Studio\Debug\MyProgram.exe" ) - Sun Mar 15 08:37:09 2015

[08:37:09.00705- 10692] MyProgram.exe ltc_game.cpp(4642)    LoadCustomCursor               Loading custom cursor from "C:\PROGRA~2\Raptr\resources\images\ingame\cursor_pointer.cur"
[08:37:09.00706- 10692] MyProgram.exe ltc_game.cpp(4642)    LoadCustomCursor               Loading custom cursor from "C:\PROGRA~2\Raptr\resources\images\ingame\cursor_move.cur"
[08:37:09.00707- 10692] MyProgram.exe ltc_game.cpp(4642)    LoadCustomCursor               Loading custom cursor from "C:\PROGRA~2\Raptr\resources\images\ingame\cursor_nwse.cur"
[08:37:09.00707- 10692] MyProgram.exe ltc_game.cpp(4642)    LoadCustomCursor               Loading custom cursor from "C:\PROGRA~2\Raptr\resources\images\ingame\cursor_dragdrop.cur"
[08:37:09.00708- 10692] MyProgram.exe dbglog.cpp(204)       OpenGlobalEvent                Global event "Global\ltc_game_candidate_event_16632l" opened, with modification flag.
[08:37:09.00708- 10692] MyProgram.exe ltc_game.cpp(4941)    DllMain                        Current process is an auto-hook candidate
[08:37:09.00710- 10692] MyProgram.exe ltc_game.cpp(1912)    StartAutoHookMonitoring        Auto-hook monitoring started
[08:37:09.00710- 10692] MyProgram.exe common.cpp(492)       CreateGlobalEvent              Global event "Global\ltc_load_game_event_16632l" created, with manual reset.
[08:37:09.00710- 10692] MyProgram.exe common.cpp(492)       CreateGlobalEvent              Global event "Global\ltc_unload_game_event_16632l" created, with manual reset.
[08:37:09.00710- 10692] MyProgram.exe dbglog.cpp(204)       OpenGlobalEvent                Global event "Global\ltc_shutdown_event" opened.
[08:37:09.00712- 16988] MyProgram.exe autohook.cpp(244)     AutoHookManager::_WatchForQuitOrTimeoutThread Watching
[08:37:09.00713- 14172] MyProgram.exe ltc_game.cpp(4688)    MainThread                     MainThread executing...
[08:37:09.00713- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Console logging has been enabled.
[08:37:09.00713- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [sta:"StartRecorder"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [stp:"StopRecorder"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [slsk:"SetLiveStreamKey live_37135925_lD9UDVtrXfCT8yf0kHeWdVhaITG9oy"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [srl:"RecorderLog C:\Users\Randal\Desktop\ffmpeg.log"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [twitchtest2:"BroadcasterDebug 1;GetTwitchAuthToken ql7dn49ya6oalq5xux4s33a16n3e7sv RaptrRandal raptrtest"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [twitchtest:"BroadcasterDebug 1;SetTwitchAuthToken 1eduwz3hdp3yprib6vhpr5c64go2nv3;StartBroadcast"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [gfastfb:"GetFramebufferAsSizeFastBench 1"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Added alias [dt1:"D3D11FastDumpTest 1"]
[08:37:09.00714- 14172] MyProgram.exe console.h(158)        CConsole::Output               CONSOLE: Console initialised.
[08:37:09.00718- 14172] MyProgram.exe overlayui.cpp(1120)   OverlayUI_InitializeConsole    This game has no on-load flags.
[08:37:09.00720- 18392] MyProgram.exe ltc_game.cpp(2311)    ModuleScanThread               ModuleScanThread executing...
[08:37:09.00720- 18392] MyProgram.exe ltc_game.cpp(2318)    ModuleScanThread               Process File Name:MyProgram.exe
[08:37:09.00721- 18392] MyProgram.exe ltc_game.cpp(2421)    ModuleScanThread               Found Graphics Module:opengl32.dll
[08:37:09.00721- 18392] MyProgram.exe opengl_hook.cpp(1749) DoHooking_OpenGL               Module [opengl32.dll] @ 585D0000.
[08:37:09.00729- 14172] MyProgram.exe ltc_game.cpp(3460)    EnumWindowsPrep                Window [002A0EC6] has been input-enabled.
[08:37:09.00745- 14172] MyProgram.exe ltc_game.cpp(3460)    EnumWindowsPrep                Window [00080F6A] has been input-enabled.
[08:37:09.00834- 14172] MyProgram.exe ltc_game.cpp(3460)    EnumWindowsPrep                Window [004B0F06] has been input-enabled.
[08:37:09.00834- 14172] MyProgram.exe ltc_game.cpp(3460)    EnumWindowsPrep                Window [00231164] has been input-enabled.
[08:37:09.00834- 14172] MyProgram.exe ltc_game.cpp(4741)    MainThread                     Waiting for shutdown event (00000624) or unload event...
The thread 0x4574 has exited with code 0 (0x0).
[08:38:09.00712- 16988] MyProgram.exe autohook.cpp(236)     AutoHookManager::_WatchForQuitOrTimeout Timed-out
[08:38:09.00712- 16988] MyProgram.exe ltc_game.cpp(1895)    OnAutoHooked                   PID: 16632 timed-out
[08:38:09.00712- 18392] MyProgram.exe ltc_game.cpp(2446)    ModuleScanThread               Ending module scan thread...
[08:38:09.00712- 14172] MyProgram.exe ltc_game.cpp(4748)    MainThread                     Unload game module event fired! Cleaning up...
[08:38:09.00713- 14172] MyProgram.exe ltc_game.cpp(4771)    MainThread                     Shutdown capture
[08:38:09.00713- 14172] MyProgram.exe ltc_game.cpp(4777)    MainThread                     Waiting for module scan thread...
The thread 0x47d8 has exited with code 0 (0x0).
The thread 0x425c has exited with code 0 (0x0).
[08:38:09.00785- 14172] MyProgram.exe winapi_hooks.cpp(960) DoHooking_WinAPI               WARNING! Cannot unhook, not hooked!
[08:38:09.00785- 14172] MyProgram.exe ltc_game.cpp(4844)    MainThread                     Shut down.
[08:38:10.00787- 14172] MyProgram.exe ltc_game.cpp(5031)    DllMain                        DLLMain DLL_PROCESS_DETACH
[08:38:10.00787- 14172] MyProgram.exe console.h(91)         CConsole::~CConsole            ERROR! Console window had not been created.
[08:38:10.00787- 14172] MyProgram.exe console.h(100)        CConsole::~CConsole            ERROR! Console widget had not been created.
[08:38:10.00788- 14172] MyProgram.exe ../common/hooks.h(93) CHookMgr::~CHookMgr            Done.
[08:38:10.00788- 14172] MyProgram.exe ../common/crash.h(58) CCrashMgr::~CCrashMgr          CrashMgr shutting down.

任何可能导致此问题的想法?在此之后程序继续正常运行。

2 个答案:

答案 0 :(得分:4)

我遇到了同样的问题。我正在运行我的Qt应用程序,那些奇怪的输出开始在我的应用程序输出窗口(在我的Qt Creator中)中弹出。我注意到在安装了Raptr(http://raptr.com/)的更新后问题就出现了。我关闭了Raptr应用程序,问题解决了。通常在安装AMD显卡驱动程序时安装Raptr。希望这会有所帮助。

答案 1 :(得分:0)

我得到完全相同的垃圾,你在.h文件

中使用了一些标题吗?
#include <QFileSystemWatcher>
#include <QDesktopServices>
#include <QFileDialog>
#include <QMessageBox>
#include <QFile>
#include <QDebug>
#include <QDateTime>
#include <QtSql>

我一直试图找到问题所在而没有成功