// // // // // $Revision$ // using System; namespace Debugger.Tests.TestPrograms { public class FunctionLocalVariables { public static void Main() { int i = 0; string s = "S"; string[] args = new string[] {"p1"}; object n = null; object o = new object(); System.Diagnostics.Debugger.Break(); } } } #if TEST_CODE namespace Debugger.Tests { public partial class DebuggerTests { [NUnit.Framework.Test] public void FunctionLocalVariables() { StartTest("FunctionLocalVariables.cs"); ObjectDump("LocalVariables", process.SelectedStackFrame.GetLocalVariableValues()); EndTest(); } } } #endif #if EXPECTED_OUTPUT mscorlib.dll (No symbols) FunctionLocalVariables.exe (Has symbols) Break FunctionLocalVariables.cs:21,4-21,40 #endif // EXPECTED_OUTPUT