diff options
author | Artem Bukhonov <artem.bukhonov@jetbrains.com> | 2017-01-28 00:14:27 +0300 |
---|---|---|
committer | Artem Bukhonov <Artem.Bukhonov@jetbrains.com> | 2017-03-11 21:19:54 +0300 |
commit | e5e2c844b3d1c4f197dd609d4bff8e0fd27043e1 (patch) | |
tree | fcc02f4ea8db98fe78bc94fcffd88311d83060c6 /main/src/addins/MonoDevelop.Debugger.Win32 | |
parent | 6f848fcc90c238025c8ca2f76e9baaf25cb53216 (diff) |
Get rid of checking for Managed frame. This causes a huge performance impact, but is not needed because we're fetching only managed frames.
(cherry picked from commit 208fa88)
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Win32')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs index acf6bbafa8..1a286c58b1 100644 --- a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs +++ b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/CorDebuggerSession.cs @@ -1393,9 +1393,6 @@ namespace Mono.Debugging.Win32 public CorValue RuntimeInvoke (CorEvaluationContext ctx, CorFunction function, CorType[] typeArgs, CorValue thisObj, CorValue[] arguments)
{
- if (!ctx.Thread.ActiveChain.IsManaged)
- throw new EvaluatorException ("Cannot evaluate expression because the thread is stopped in native code.");
-
CorValue[] args;
if (thisObj == null)
args = arguments;
|