1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
6
namespace Debugger.Tests
8
public class StackFrame_Callstack
10
public static void Main()
22
System.Diagnostics.Debugger.Break();
28
namespace Debugger.Tests {
29
public partial class DebuggerTests
31
[NUnit.Framework.Test]
32
public void StackFrame_Callstack()
36
ObjectDump("Callstack", process.SelectedThread.GetCallstack());
37
process.SelectedStackFrame.StepOut();
38
ObjectDump("Callstack", process.SelectedThread.GetCallstack());
39
process.SelectedStackFrame.StepOut();
40
ObjectDump("Callstack", process.SelectedThread.GetCallstack());
49
<?xml version="1.0" encoding="utf-8"?>
52
name="StackFrame_Callstack.cs">
54
<ModuleLoaded>mscorlib.dll (No symbols)</ModuleLoaded>
55
<ModuleLoaded>StackFrame_Callstack.exe (Has symbols)</ModuleLoaded>
56
<DebuggingPaused>Break StackFrame_Callstack.cs:22,4-22,40</DebuggingPaused>
63
MethodInfo="static void Debugger.Tests.StackFrame_Callstack.Sub2()"
64
NextStatement="StackFrame_Callstack.cs:22,4-22,40"
65
Thread="Thread Name = Suspended = False" />
72
MethodInfo="static void Debugger.Tests.StackFrame_Callstack.Sub1()"
73
NextStatement="StackFrame_Callstack.cs:17,4-17,11"
74
Thread="Thread Name = Suspended = False" />
80
MethodInfo="static void Debugger.Tests.StackFrame_Callstack.Main()"
81
NextStatement="StackFrame_Callstack.cs:12,4-12,11"
82
Thread="Thread Name = Suspended = False" />
85
<DebuggingPaused>StepComplete StackFrame_Callstack.cs:17,4-17,11</DebuggingPaused>
92
MethodInfo="static void Debugger.Tests.StackFrame_Callstack.Sub1()"
93
NextStatement="StackFrame_Callstack.cs:17,4-17,11"
94
Thread="Thread Name = Suspended = False" />
100
MethodInfo="static void Debugger.Tests.StackFrame_Callstack.Main()"
101
NextStatement="StackFrame_Callstack.cs:12,4-12,11"
102
Thread="Thread Name = Suspended = False" />
105
<DebuggingPaused>StepComplete StackFrame_Callstack.cs:12,4-12,11</DebuggingPaused>
111
MethodInfo="static void Debugger.Tests.StackFrame_Callstack.Main()"
112
NextStatement="StackFrame_Callstack.cs:12,4-12,11"
113
Thread="Thread Name = Suspended = False" />
119
#endif // EXPECTED_OUTPUT