Details
Description
- Create a new project of type "Qt Quick Application - Empty".
- Place a breakpoint in line 8 of main.cpp:
QGuiApplication app(argc, argv);
- Start the debugger.
The breakpoint will be hit. - Check argv in the Locals view.
The array contains to elements:argv <2 Elemente> char ** [0] "D:\Testprojekte\build-untitled1008-Desktop-Debug\debug\untitled1008.exe" char* [1] "-qmljsdebugger=port:56093,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector" char*
- Step forward.
- Check argv in the Locals view again.
Now the debugger claims that the array has only one element:argv <ein Element> char ** [0] "D:\Testprojekte\build-untitled1008-Desktop-Debug\debug\untitled1008.exe" char*
Looking at Creator's memory viewer, the array itself seems to not have changed, so I wouldn't expect the Locals view to change the display of argv.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-19179 GCC compiler detected multiple times
-
- Closed
-