Debugging without Disassembler
-
wrote on 6 Aug 2014, 06:25 last edited by
Hi,
I'm using Qt Creator 3.1.2 and Qt 5.3.1 with MinGW on Windows. If I would debugging my source code the debugger switch to a disassembler view, but I would debug without the disassembler view. How can i dissable this view?
kind regards
Hanashi -
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.
-
wrote on 6 Aug 2014, 06:33 last edited by
Hi thanks for answer, I have fixed the problem with adding this lines to .pro-file:
@CONFIG += debug
QMAKE_LFLAGS += -g@ -
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.
-
wrote on 8 Aug 2014, 13:22 last edited by
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.
1/6