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. Qt Creator debugger question

Qt Creator debugger question

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.1k 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.
  • P Offline
    P Offline
    pperisin
    wrote on last edited by
    #1

    Hi,

    I am using generic project. I have executable, and I want QtCreator to attach to it and debug it.

    However, executable is started from a script - this script starts executable and does all the necessary preparations for executable to function correctly. After that, script is executing a test on the executable, and during that test I would liek to make Qt Creator stop executable at a breakpoint. This means that file that is being started (script) is different from file that is about to be debugged (executable).

    Is it possible to automatically do this with QtCreator - I have not figured out if file I run (script) and executable can be different.

    I was able to do this manually - so I start script from command line, then wait untill executable process starts, then attach.
    However, this way I'm not able to set up a break point at the entry of a main, because it takes some time for me to go through all entries after script starts executable.

    Is it poossible to set up debugger in QtCreator to start script, "wait" untill script starts the executable, attach, and wait until it hits first breakpoint.

    Regards,
    Petar

    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