Question with Debugger used in QtCreator
-
Hi,
I have an odd behavior using the debugger in Qt Creator. I'm using Qt 5.15.2 debugger CDB at c:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe.
Both C and C++ compiler is set to Microsoft Visual C++ Compiler 16.6.30204.135 (amd64)
When I run in debug mode but without using breakpoints and hitting the big green Arrow, my application works fine. However if I run exactly the same code using F5 which is for single step I get an exception on parsing command line options even if I have no command line options.
Has anyone seen this weird behavior before and is there something I can do about it? It can't be the code otherwise I wouldn't be able to run at all. If I run in release mode also it works just fine. Only when I use F5 option.
Thanks!