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. Easily Restart When Debugging External Executable

Easily Restart When Debugging External Executable

Scheduled Pinned Locked Moved Unsolved General and Desktop
debuggerexternal appliclinux
2 Posts 1 Posters 372 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.
  • RyanEdwardR Offline
    RyanEdwardR Offline
    RyanEdward
    wrote on last edited by
    #1

    Hi all, I'm on Ubuntu 20.04, x86_64, QT Creator 5.0.2

    I load an external executable with: Debug -> Start Debugging -> Start and Debug External Application

    This successfully displays the executable and I can debug it as I would expect.

    However when I stop debugging I cannot easily restart debugging the executable. Options/shortcuts like 'Start and Break at Main' don't work. I have to manually traverse the debug menu with my mouse and accept the pop-up window prompt as I did initially.

    Is there some shortcut I can use to automate this?

    Thanks

    RyanEdwardR 1 Reply Last reply
    0
    • RyanEdwardR RyanEdward

      Hi all, I'm on Ubuntu 20.04, x86_64, QT Creator 5.0.2

      I load an external executable with: Debug -> Start Debugging -> Start and Debug External Application

      This successfully displays the executable and I can debug it as I would expect.

      However when I stop debugging I cannot easily restart debugging the executable. Options/shortcuts like 'Start and Break at Main' don't work. I have to manually traverse the debug menu with my mouse and accept the pop-up window prompt as I did initially.

      Is there some shortcut I can use to automate this?

      Thanks

      RyanEdwardR Offline
      RyanEdwardR Offline
      RyanEdward
      wrote on last edited by
      #2

      @RyanEdward Although not a native QTCreator solution, I use: C gist to simulate key presses on linux.
      Mapping this binary to a keyboard shortcut on your native desktop environment can hack your way to a solution.

      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