Command line arguments

Is there a public list of supported command line arguments? I tried looking but couldn't find one.

Edited by Castan on Reason: Initial post
Castan
Is there a public list of supported command line arguments? I tried looking but couldn't find one.


Here you go:

Usage

1
 remedybg.exe [exe-filename | rdbg-filename] 


Executing remedybg.exe without any command-line parameters will launch RemedyBG with an unnamed
session. You can fill in the necessary details for launching an executable in the Session menu.

exe-filename: Specify an executable to debug. This will auto-populate the session's "Command".

rdbg-filename: Specify an .rdbg session file to load. This will reload the "Command", "Command
Arguments", "Working Directory", any files that were opened, and any breakpoints that were set.

Driving an existing instance

An existing instance of RemedyBG can be driven via the command-line. Following are the currently
supported commands and their arguments. Optional arguments are enclosed in brackets '[]'.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
   remedybg.exe open-session session-filename
   remedybg.exe open-file filename [line-number]
   remedybg.exe close-file filename
   remedybg.exe start-debugging
   remedybg.exe stop-debugging
   remedybg.exe attach-to-process-by-id process-id
   remedybg.exe continue-execution
   remedybg.exe add-breakpoint-at-file filename line-number
   remedybg.exe remove-breakpoint-at-file filename line-number
   remedybg.exe add-breakpoint-at-function function-name
   remedybg.exe remove-breakpoint-at-function function-name



Thank you!
Thank you, this is useful.
Any chance to add a "--help" or similar command sometime in the future?

Edited by ionut on
Sure thing. I can add a "--help" option.
I have a few times unconsciously written:
1
remedybg exe-filename arg...

Instead of starting a session with command exe-filename with arguments arg..., it just starts an empty session.

Would be possible to implement the former?
If you add the "exe" extension to the executable, it should do what you want.

I will make it so Remedy tests for the given arg + ".exe" as a convenience.