Debugging without Disassembler
-
-
In the bottom-left panel of the debugging view, there is a list of all the files that your application is getting through. Browse there to the first file that you recognize, and double click it. Qt Creator will show you the file. It shows the disassembler when no source file can be found.
-
Oh, so you were compiling in release mode? You can simply switch to Debug mode in Qt Creator, rebuild your program, and then those flags will be added automatically for you.
-
[quote author="whhenyuan" date="1407314892"]try (censored) [/quote]
Watch out, mate. Your link was totally unrealated.
-
It probably helps if you uncheck options to break debugging on Thread creation and Thread exit if you have these options checked for the Debugger. These options will certainly pop the disassembler view up when you start debugging even if you haven't set any Breakpoints in your code. You find these options in menu Tools/Debugger/CDB. If you want to break on C++ exceptions leave that option checked, otherwise uncheck that too.