QT opens disassembler when debugging
-
If I set a breakpoint and then try to debug, the disassembler window pops up and qt will no longer show my code till I stop the debgging, if I take the next step then it will be done in the disassembler and not in my code.
he values change but I want to see my code at every new step and not the disassembler windows.This is how it looks like:
https://imgur.com/a/aUf0354 -
hi @Nocksen,
- which compiler/ debugger is this?
- which Qt/Creator version?
- have you tried a minimal example?
- does the debugger log ( Windows > Views) contain any insights?
regards
-
@aha_1980
-where can I see which compiler/debugger I use ?
-Qt Creator 4.7.0
-what du you mean with "minimal example" ?
-Windows > Views is not available -
Hi @Nocksen,
-where can I see which compiler/debugger I use ?
Under Tools -> Options you have the available Kits consisting of compiler, Qt version and debugger. One of these Kits is selected when you build your program (see Left side pane Projects > Build settings)
-what du you mean with "minimal example" ?
File > New file or project > Non Qt project > Plain C++ application
-Windows > Views is not available
You have to switch to debug mode first.
Regards
-
I always work with Plain c ++ application.
I dont see anythin important in the logs
-
@Nocksen said in QT opens disassembler when debugging:
I dont see anythin important in the logs
Can you show it?
-
-
@Nocksen
/home/.../Schreibtisch/C++/1.Programmierung mit C++/Kapitel 5/3.Übungen 1-14/build-Uebung3-Desktop_Qt_5_11_1_GCC_64bit-Debug/Uebung3
Try using a project (and build) directory without spaces and without Umlauts (only ASCII characters).
I'm pretty sure that's the reason.
Regards
-
@aha_1980 Thanks, that was the problem :)
-
@Nocksen if your issue is solved please don't forget to mark your post as such. Thanks
-
FYI: I created https://bugreports.qt.io/browse/QTCREATORBUG-20834 to get a warning message for such cases.
-
-
Hi,
I installed Ubuntu 20.04 today. Then I installed Qt 5.15.2. I have the disassembler issue. Then I removed whole Qt and install a fresh Qt6. The issue is still there. I do not use space or any special character in my build directory. I have the same issue like https://imgur.com/a/aUf0354
compiler: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Debuger: GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2It always shows disassembler when debuger reaches std::async(std::lunch::async,....) function!!!(But maybe unrelataed).
Even I upgrade gcc to 10. The problem still is there.
-
@Psnarf How did you remove all break point from Kate editor and what is kate editor or where is it? I add
handle SIGSTOP nopass
handle SIGSTOP nostopoptions to my GDB debuger to not receive those stops. But please let me know where is the kate and how did you remove its beak points.
-