RemedyBG » Forums » Controlling the debugger from outside
martincohen
Martin Cohen
46 posts / 1 project

Code, art, music, stupid ideas.

#21022 Controlling the debugger from outside
1 week, 5 days ago Edited by Martin Cohen on May 10, 2019, 8:51 a.m. Reason: Initial post

Hello,

I'm looking whether there's some way of controlling the debugger from outside meaning whether I'm be able to do something like this:

  • remedybg open <path> -- opens executable at path
  • remedybg debug start -- starts debugging session of current project
  • remedybg debug end -- ends debugging session of current project
  • remedybg breakpoint add <file> <line> -- adds a breakpoint to given file/line
  • remedybg breakpoint remove <file> <line> -- removes a breakpoint from given file/line
  • etc.


When ran with these arguments, remedybg would check if there's already an instance of it running, and if it is it'll pass the command and arguments to it to perform them.

This would make it super helpful to control the debugger from an editor in a very simple manner.

None
x13pixels
107 posts / 1 project

None

#21035 Controlling the debugger from outside
1 week, 4 days ago

That's a great idea. Thanks Martin.

--
George