Author: martin
Date: 2007-06-11 10:03:26 -0400 (Mon, 11 Jun 2007)
New Revision: 79182
Modified:
branches/martin/debugger-dublin/debugger/backend/SingleSteppingEngine.cs
branches/martin/debugger-dublin/debugger/test/testsuite/TestMethodLookup.cs
Log:
Code cleanups; remove debugging code.
Modified:
branches/martin/debugger-dublin/debugger/backend/SingleSteppingEngine.cs
===================================================================
--- branches/martin/debugger-dublin/debugger/backend/SingleSteppingEngine.cs
2007-06-11 13:52:55 UTC (rev 79181)
+++ branches/martin/debugger-dublin/debugger/backend/SingleSteppingEngine.cs
2007-06-11 14:03:26 UTC (rev 79182)
@@ -522,9 +522,6 @@
internal void ReachedManagedMain (TargetAddress method)
{
- // process.MonoLanguage.ReachedMain (inferior, method);
- // TargetAddress compile =
process.MonoLanguage.CompileMethodFunc;
- // PushOperation (new OperationCompileMethod (this,
compile, method, null));
PushOperation (new OperationManagedMain (this, method));
}
@@ -2208,7 +2205,8 @@
Report.Error ("Cannot insert breakpoint
{0}: {1}",
e.Index, ex.Message);
} catch (Exception ex) {
- Console.WriteLine ("MANAGED MAIN EX:
{0}", ex);
+ Report.Error ("Cannot insert breakpoint
{0}: {1}",
+ e.Index, ex.Message);
}
}
Modified:
branches/martin/debugger-dublin/debugger/test/testsuite/TestMethodLookup.cs
===================================================================
--- branches/martin/debugger-dublin/debugger/test/testsuite/TestMethodLookup.cs
2007-06-11 13:52:55 UTC (rev 79181)
+++ branches/martin/debugger-dublin/debugger/test/testsuite/TestMethodLookup.cs
2007-06-11 14:03:26 UTC (rev 79182)
@@ -64,13 +64,10 @@
AssertExecute ("continue");
AssertHitBreakpoint (thread, BreakpointWriteLine,
"X.Main()", LineWriteLine);
- AssertListAndBreak ("Main");
- AssertListAndBreak ("X.Main");
- AssertListAndBreak ("Main()");
- AssertListAndBreak ("X.Main()");
-
AssertListAndBreak ("Hello");
+ AssertListAndBreak ("X.Hello");
AssertListAndBreak ("Hello()");
+ AssertListAndBreak ("X.Hello()");
AssertListAndBreak ("Simple");
AssertListAndBreak ("Simple(Foo.Bar.Test)");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches