Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. breakpoint in some method not hit as expected.
Forum Update on Monday, May 27th 2025

breakpoint in some method not hit as expected.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 200 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.
  • G Offline
    G Offline
    guyuming
    wrote on last edited by guyuming
    #1

    i am new to qt. I cloned project KRDC and checked out to v19.12.3 ([https://github.com/KDE/krdc/releases/tag/v19.12.3](link url))
    the code works well in debug mode, i mean, i can remote connect to remote desktop.
    however, i cannot step into the RdpViewFactory::createview method as shown on screenshot below, and i had set a breakpoint in RdpViewFactory::createview method, but the breakpoint was not hit.
    QtRdpViewFactory_Screenshot_20201230_151351.png

    when debug stops at line 288 and i try steps into, it goes to line 289. You can see at right of the picture that the type of factory is RdpViewFactory. what can be wrong?

    QtRdpViewFactory1_Screenshot_20201230_151351.png

    1 Reply Last reply
    0
    • andrA Offline
      andrA Offline
      andr
      wrote on last edited by
      #2

      One common reason for that is that there is no debug information available for the code implementing the RdpViewFactory::createview method, either because it was not compiled with debug info (e.g. -g flag missing on the command line), or it was stripped later.

      1 Reply Last reply
      2

      • Login

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