Crash when application is not compiled with /DEBUG
Closed this issue · 4 comments
dashdash12 commented
When the application is not compiled with /DEBUG flag, e.g. in release version the profiler crashes when I click "Capture" in the dialog. Also the thread list is empty.
botman99 commented
Hmmm, this may have something to do with the logging in the DebugLog class (which I changed soon before my initial commit to github). I'll see if I can reproduce the crash and try to fix it up as soon as possible.
dashdash12 commented
I tested further and found out that it only happens when i generate my project files with CMake.
I use the simplest CMake file possible:
project(test1)
add_executable(test1.exe Main.cpp)
botman99 commented
Yeah, the project files included in the github depot define "_DEBUG" when building a Debug configuration (and define NDEBUG when not building a Debug configuration).