Bug 3474 - MD stack trace (from the debugger) in the *Application* output
Summary: MD stack trace (from the debugger) in the *Application* output
Status: RESOLVED INVALID
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-02-15 11:27 UTC by Sebastien Pouliot
Modified: 2012-02-17 14:31 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Sebastien Pouliot 2012-02-15 11:27:19 UTC
I made a typo and asked for a watch on `Region` instead of `RegionInfo` and MD watch UI reacted correctly :-)

However my **application** output gets the stack traces of the attempts...


Mono.Debugging.Evaluation.EvaluatorException: Unknown identifier: Region
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier (System.String name) [0x002e6] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:590 
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression (ICSharpCode.OldNRefactory.Ast.IdentifierExpression identifierExpression, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:522 
  at ICSharpCode.OldNRefactory.Ast.IdentifierExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:2284 
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89 Mono.Debugging.Evaluation.EvaluatorException: Unknown identifier: egion
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier (System.String name) [0x002e6] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:590 
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression (ICSharpCode.OldNRefactory.Ast.IdentifierExpression identifierExpression, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:522 
  at ICSharpCode.OldNRefactory.Ast.IdentifierExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:2284 
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89 Mono.Debugging.Evaluation.EvaluatorException: Unknown identifier: gion
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier (System.String name) [0x002e6] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:590 
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression (ICSharpCode.OldNRefactory.Ast.IdentifierExpression identifierExpression, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:522 
  at ICSharpCode.OldNRefactory.Ast.IdentifierExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:2284 
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89 Mono.Debugging.Evaluation.EvaluatorException: Unknown identifier: ion
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier (System.String name) [0x002e6] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:590 
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression (ICSharpCode.OldNRefactory.Ast.IdentifierExpression identifierExpression, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:522 
  at ICSharpCode.OldNRefactory.Ast.IdentifierExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:2284 
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89 Mono.Debugging.Evaluation.EvaluatorException: Unknown identifier: on
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier (System.String name) [0x002e6] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:590 
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression (ICSharpCode.OldNRefactory.Ast.IdentifierExpression identifierExpression, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:522 
  at ICSharpCode.OldNRefactory.Ast.IdentifierExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:2284 
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89 Mono.Debugging.Evaluation.EvaluatorException: Unknown identifier: n
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifier (System.String name) [0x002e6] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:590 
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitIdentifierExpression (ICSharpCode.OldNRefactory.Ast.IdentifierExpression identifierExpression, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:522 
  at ICSharpCode.OldNRefactory.Ast.IdentifierExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in /Users/poupou/git/xamarin/monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:2284 
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in /Users/poupou/git/xamarin/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89 


Having them (stack trace) is not bad if it was not in my **application** output (it's my mistake in MD). Could this be sent to the "Message Log" pad instead ?
Comment 1 Jeffrey Stedfast 2012-02-16 17:36:32 UTC
I'm not seeing this (using the monotouch mscorlib-tests project) if I go to the watch window and try to add a watch for "Region" while paused on a breakpoint in the debugger.

Maybe this has already been fixed? At some point I did find/remove a bunch of exception spewage and make it write to the log instead.
Comment 2 Sebastien Pouliot 2012-02-17 14:31:51 UTC
Does not happen anymore once I updated again from master.
I'll re-open if I hit this again. Thanks!