Author: martin
Date: 2007-06-11 09:52:09 -0400 (Mon, 11 Jun 2007)
New Revision: 79180

Modified:
   branches/martin/debugger-dublin/debugger/frontend/Expression.cs
Log:
Code cleanups; remove debugging code.

Modified: branches/martin/debugger-dublin/debugger/frontend/Expression.cs
===================================================================
--- branches/martin/debugger-dublin/debugger/frontend/Expression.cs     
2007-06-11 13:50:36 UTC (rev 79179)
+++ branches/martin/debugger-dublin/debugger/frontend/Expression.cs     
2007-06-11 13:52:09 UTC (rev 79180)
@@ -46,17 +46,11 @@
                protected SourceLocation DoParseExpression (TargetMemoryAccess 
target, StackFrame frame,
                                                            LocationType type, 
string arg)
                {
-                       Console.WriteLine ("DO PARSE EXPR: {0} {1} {2} {3}", 
type, arg,
-                                          frame, frame != null);
-
                        ScriptingContext context = new ScriptingContext 
(Interpreter);
                        context.CurrentThread = frame.Thread;
                        context.CurrentFrame = frame;
 
-                       Console.WriteLine ("DO PARSE EXPR #1");
-
                        Expression expr = Interpreter.ExpressionParser.Parse 
(arg);
-                       Console.WriteLine ("DO PARSE EXPR #2: {0} {1}", expr, 
expr != null);
                        if (expr == null)
                                throw new ScriptingException ("Cannot resolve 
expression `{0}'.", arg);
 
@@ -117,15 +111,10 @@
                public SourceLocation Parse (TargetMemoryAccess target, 
StackFrame frame,
                                             LocationType type, string arg)
                {
-                       Console.WriteLine ("PARSE: {0} {1}", type, arg);
-
                        try {
                                return DoParse (target, frame, type, arg);
                        } catch (ScriptingException ex) {
                                throw new TargetException 
(TargetError.LocationInvalid, ex.Message);
-                       } catch (Exception ex) {
-                               Console.WriteLine ("FUCK: {0} {1} {2}", type, 
arg, ex);
-                               throw;
                        }
 
                        return null;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to