Skip to content

Commit b5b58d8

Browse files
committed
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)
1 parent f2398be commit b5b58d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Mono.Debugging.Win32/CorDebuggerSession.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,9 +1393,6 @@ protected override void OnUpdateBreakEvent (BreakEventInfo be)
13931393

13941394
public CorValue RuntimeInvoke (CorEvaluationContext ctx, CorFunction function, CorType[] typeArgs, CorValue thisObj, CorValue[] arguments)
13951395
{
1396-
if (!ctx.Thread.ActiveChain.IsManaged)
1397-
throw new EvaluatorException ("Cannot evaluate expression because the thread is stopped in native code.");
1398-
13991396
CorValue[] args;
14001397
if (thisObj == null)
14011398
args = arguments;

0 commit comments

Comments
 (0)