[Mono-bugs] [Bug 75963][Nor] New - Parse errors are too scary

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 2 08:49:54 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75963

--- shadow/75963	2005-09-02 08:49:54.000000000 -0400
+++ shadow/75963.tmp.10669	2005-09-02 08:49:54.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 75963
+Product: Mono: Debugger
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: cli
+AssignedTo: toshok at ximian.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Parse errors are too scary
+
+Currently parse errors give a feeling that the debugger crashed, for exanmple:
+
+(mbd) b (
+
+Produces:
+
+syntax error, expecting IDENTIFIER INT UINT FLOAT DOUBLE DECIMAL ULONG LONG
+STRING STAR PERCENT OPAREN AMPERSAND NEW THIS BASE CATCH TRUE FALSE
+Mono.Debugger.Frontend.BreakCommand, Token: OPAREN   : Parsing error 
+Mono.Debugger.Frontend.CSharp.yyParser.yyException: irrecoverable syntax error
+in <0x0062e> Mono.Debugger.Frontend.CSharp.ExpressionParser:yyparse
+(yyInput yyLex)
+in <0x000a7> Mono.Debugger.Frontend.CSharp.ExpressionParser:Parse
+(System.String text)
+
+	 at Mono.Debugger.Frontend.DebuggerCommand.DoParseExpression ()
+	 at Mono.Debugger.Frontend.DebuggerCommand.ParseExpression ()
+	 at Mono.Debugger.Frontend.SourceCommand.DoResolveExpression ()
+	 at Mono.Debugger.Frontend.SourceCommand.DoResolve ()
+	 at Mono.Debugger.Frontend.BreakCommand.DoResolve ()
+	 at Mono.Debugger.Frontend.DebuggerCommand.Resolve ()
+	 at Mono.Debugger.Frontend.DebuggerCommand.Execute ()
+	 at Mono.Debugger.Frontend.Engine.Run ()
+	 at Mono.Debugger.Frontend.LineParser.Execute ()
+	 at Mono.Debugger.Frontend.CommandLineInterpreter.MainLoop ()
+	 at Mono.Debugger.Frontend.CommandLineInterpreter.main_thread_main ()
+	 at System.MulticastDelegate.invoke_void ()
+Cannot parse arguments
+
+We should remove that stack trace from being rendered.


More information about the mono-bugs mailing list