diff options
author | Bernhard Urban <bernhard.urban@xamarin.com> | 2018-05-26 00:57:51 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-05-26 00:57:51 +0300 |
commit | 92d9a3ca16c6fa606a87b2af7cee6424d9c20cd9 (patch) | |
tree | 080b1e4f9ff09ce30514fad7cdb34eeb4ff81041 /mcs/class/Mono.Debugger.Soft | |
parent | fae3b3506aa7b89ba4a22548c94e6bac99d50853 (diff) |
[Mono.Debugger.Soft.Test] Use interp on debugee (#8851)
* [debugger tests] use runtime flags for debugee
* [debugger] handle managed-to-native frames
fixes DebuggerTests.InspectThreadSuspenedOnWaitOne on the interpreter
* [interp] set SP in monoctx that is passed to exception handling
fixes DebuggerTests.ExceptionFilter on the interpreter
* [debugger] fix debugger_invoke frame in interp case
fixes DebuggerTests.BreakpointDuringInvoke on the interpreter
Diffstat (limited to 'mcs/class/Mono.Debugger.Soft')
-rw-r--r-- | mcs/class/Mono.Debugger.Soft/Test/dtest.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/Mono.Debugger.Soft/Test/dtest.cs b/mcs/class/Mono.Debugger.Soft/Test/dtest.cs index da0d8dc3d1a..de430ae354a 100644 --- a/mcs/class/Mono.Debugger.Soft/Test/dtest.cs +++ b/mcs/class/Mono.Debugger.Soft/Test/dtest.cs @@ -45,6 +45,7 @@ public class DebuggerTests public static bool listening = Environment.GetEnvironmentVariable ("DBG_SUSPEND") != null; #endif public static string runtime = Environment.GetEnvironmentVariable ("DBG_RUNTIME"); + public static string runtime_args = Environment.GetEnvironmentVariable ("DBG_RUNTIME_ARGS"); public static string agent_args = Environment.GetEnvironmentVariable ("DBG_AGENT_ARGS"); // Not currently used, but can be useful when debugging individual tests. @@ -84,6 +85,8 @@ public class DebuggerTests if (string.IsNullOrEmpty (pi.FileName)) pi.FileName = "mono"; pi.Arguments = String.Join (" ", args); + if (runtime_args != null) + pi.Arguments = runtime_args + " " + pi.Arguments; return pi; } |