Skip to content

Commit e36f58c

Browse files
author
David Karlaš
committed
Added support for specifying RuntimeArguments in DebuggerStartInfo
1 parent 8ca826b commit e36f58c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Mono.Debugging.Soft/SoftDebuggerSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void StartLaunching (SoftDebuggerStartInfo dsi)
197197
RegisterUserAssemblies (dsi);
198198

199199
var psi = new System.Diagnostics.ProcessStartInfo (runtime) {
200-
Arguments = string.Format ("\"{0}\" {1}", dsi.Command, dsi.Arguments),
200+
Arguments = string.Format ("{2} \"{0}\" {1}", dsi.Command, dsi.Arguments, dsi.RuntimeArguments),
201201
WorkingDirectory = dsi.WorkingDirectory,
202202
RedirectStandardOutput = true,
203203
RedirectStandardError = true,

Mono.Debugging/Mono.Debugging.Client/DebuggerStartInfo.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public class DebuggerStartInfo
3535
{
3636
string command;
3737
string arguments;
38+
string runtimeArguments;
3839
string workingDirectory;
3940
Dictionary<string, string> environmentVariables;
4041

@@ -56,6 +57,15 @@ public string Arguments {
5657
}
5758
}
5859

60+
public string RuntimeArguments {
61+
get {
62+
return runtimeArguments;
63+
}
64+
set {
65+
runtimeArguments = value;
66+
}
67+
}
68+
5969
public string WorkingDirectory {
6070
get {
6171
return workingDirectory;

0 commit comments

Comments
 (0)