Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Question with Debugger used in QtCreator
Qt 6.11 is out! See what's new in the release blog

Question with Debugger used in QtCreator

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 376 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leinad
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leinad
      wrote on last edited by
      #2

      One other point, when I single step the same code using VS2019, it steps over properly. I wonder if some setting is missing.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved