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
Forum Updated to NodeBB v4.3 + New Features

Easily Restart When Debugging External Executable

Scheduled Pinned Locked Moved Unsolved General and Desktop
debuggerexternal appliclinux
2 Posts 1 Posters 393 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.
  • R Offline
    R Offline
    RyanEdward
    wrote on 26 Oct 2021, 00:28 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

    R 1 Reply Last reply 26 Oct 2021, 09:32
    0
    • R RyanEdward
      26 Oct 2021, 00:28

      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

      R Offline
      R Offline
      RyanEdward
      wrote on 26 Oct 2021, 09:32 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

      1/2

      26 Oct 2021, 00:28

      • Login

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