diff options
author | Lucas Meijer <lucas@Lucass-MacBook-Pro.local> | 2013-12-10 17:25:14 +0400 |
---|---|---|
committer | Lucas Meijer <lucas@Lucass-MacBook-Pro.local> | 2013-12-10 17:25:14 +0400 |
commit | a8dc336f421e8435daded72b15a3c93f4023bd5a (patch) | |
tree | ffd65a3d07a06acbc1ff0ad56ae8c1a13d914dd9 /Mono.Debugging.Soft/SoftEvaluationContext.cs | |
parent | 87e1f87d49a8f9f6b657989e4c2299644d3b0d52 (diff) |
Implement Lluis’ feedback from https://github.com/mono/debugger-libs/pull/13#issuecomment-30218804
Diffstat (limited to 'Mono.Debugging.Soft/SoftEvaluationContext.cs')
-rw-r--r-- | Mono.Debugging.Soft/SoftEvaluationContext.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mono.Debugging.Soft/SoftEvaluationContext.cs b/Mono.Debugging.Soft/SoftEvaluationContext.cs index ced30d6..9386782 100644 --- a/Mono.Debugging.Soft/SoftEvaluationContext.cs +++ b/Mono.Debugging.Soft/SoftEvaluationContext.cs @@ -37,13 +37,15 @@ namespace Mono.Debugging.Soft int stackVersion; StackFrame frame; bool sourceAvailable; - + public ThreadMirror Thread { get; set; } + public AppDomainMirror Domain { get; set; } public SoftEvaluationContext (SoftDebuggerSession session, StackFrame frame, DC.EvaluationOptions options): base (options) { Frame = frame; Thread = frame.Thread; + Domain = Thread.Domain; string method = frame.Method.Name; if (frame.Method.DeclaringType != null) @@ -109,6 +111,7 @@ namespace Mono.Debugging.Soft stackVersion = other.stackVersion; Thread = other.Thread; session = other.session; + Domain = other.Domain; } static bool IsValueTypeOrPrimitive (TypeMirror type) |