Bug 2826 - I'm getting debug spew complaining of an exception: AbsentInformationException
Summary: I'm getting debug spew complaining of an exception: AbsentInformationException
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 2.8.5
Hardware: Other Other
: High normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-01-10 04:18 UTC by Jamie Briant
Modified: 2012-01-17 11:46 UTC (History)
4 users (show)

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


Attachments
there's quite a bit of it (310.96 KB, text/plain)
2012-01-10 04:18 UTC, Jamie Briant
Details


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 FIXED

Description Jamie Briant 2012-01-10 04:18:47 UTC
Created attachment 1154 [details]
there's quite a bit of it

This is not terribly useful in the Application Output window. In fact, it makes it rather hard to do printf debugging:

Mono.Debugger.Soft.AbsentInformationException: Debug information is not available for this frame.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00063] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:286 
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000d5] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1393 
  at Mono.Debugger.Soft.Connection.StackFrame_GetValues (Int64 thread_id, Int64 id, System.Int32[] pos) [0x00004] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2047 
  at Mono.Debugger.Soft.StackFrame.GetValue (Mono.Debugger.Soft.LocalVariable var) [0x0002d] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:103 
  at Mono.Debugging.Soft.VariableValueReference.get_Value () [0x0000c] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/VariableValueReference.cs:68 Mono.Debugger.Soft.AbsentInformationException: Debug information is not available for this frame.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00063] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:286 
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000d5] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1393 
  at Mono.Debugger.Soft.Connection.StackFrame_GetValues (Int64 thread_id, Int64 id, System.Int32[] pos) [0x00004] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2047 
  at Mono.Debugger.Soft.StackFrame.GetValue (Mono.Debugger.Soft.LocalVariable var) [0x0002d] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:103 
  at Mono.Debugging.Soft.VariableValueReference.get_Value () [0x0000c] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/VariableValueReference.cs:68 Mono.Debugger.Soft.AbsentInformationException: Debug information is not available for this frame.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00063] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:286 
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000d5] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1393 
  at Mono.Debugger.Soft.Connection.StackFrame_GetValues (Int64 thread_id, Int64 id, System.Int32[] pos) [0x00004] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2047 
  at Mono.Debugger.Soft.StackFrame.GetValue (Mono.Debugger.Soft.LocalVariable var) [0x0002d] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:103 
  at Mono.Debugging.Soft.VariableValueReference.get_Value () [0x0000c] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/VariableValueReference.cs:68 Mono.Debugger.Soft.AbsentInformationException: Debug information is not available for this frame.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00063] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:286 
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000d5] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1393 
  at Mono.Debugger.Soft.Connection.StackFrame_GetValues (Int64 thread_id, Int64 id, System.Int32[] pos) [0x00004] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2047 
  at Mono.Debugger.Soft.StackFrame.GetValue (Mono.Debugger.Soft.LocalVariable var) [0x0002d] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:103 
  at Mono.Debugging.Soft.VariableValueReference.get_Value () [0x0000c] in /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/VariableValueReference.cs:68 Mono.Debugger.Soft.AbsentInformationException: Debug information is not available for this frame.
  at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00063] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:286 
  at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000d5] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1393 
  at Mono.Debugger.Soft.Connection.StackFrame_GetValues (Int64 thread_id, Int64 id, System.Int32[] pos) [0x00004] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2047 
  at Mono.Debugger.Soft.StackFrame.GetValue (Mono.Debugger.Soft.LocalVariable var) [0x0002d] in /private/tmp/source/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/StackFrame.cs:103
Comment 1 Mikayla Hutchinson [MSFT] 2012-01-10 14:21:40 UTC
What MonoDevelop and MonoTouch versions?
Comment 2 Jamie Briant 2012-01-10 21:19:42 UTC
Whatever it auto-updated to:

MD: 2.8.5
MT: 5.0.4

MonoDevelop 2.8.5
Installation UUID: 9f45fde2-3bde-4b45-a524-2ebb6b018d9b
Runtime:
	Mono 2.10.8 (tarball Mon Dec 19 17:43:18 EST 2011)
	GTK 2.24.5
	GTK# (2.12.0.0)
Apple Developer Tools:
	 Xcode 4.2 (828)
	 Build 4C199
Mono for Android not installed
Monotouch: 5.0.4
Build information:
	Release ID: 20805000
	Git revision: c4deb930539ae87247b0bc43919dfcb98df215c2
	Build date: 2011-12-09 23:27:52+0000
Operating System:
	Mac OS X 10.6.8
	Darwin 10.8.0 Darwin Kernel Version 10.8.0
Comment 3 Jeffrey Stedfast 2012-01-11 17:33:46 UTC
Back on Dec 1, I fixed mtouch to embed debugging symbols for all assemblies:


commit e4f13865a0fec8dbc179c029ea9ad4a47dfdaea1
Author: Jeffrey Stedfast <jeff@xamarin.com>
Date:   Thu Dec 1 12:43:20 2011 -0500

    [mtouch] Enable debug symbols even for "nodebug" files when debugging enabled.
    
    This is another partial fix for bug #664. Enabling debug symbols for system
    assemblies does not dramatically increase the size of the generated app,
    but does allow MonoDevelop to get useful debugging information to display
    to the user.


This might be enough to solve your problem, but it hasn't been released in a 5.0.x version yet (it would be in 5.1.2 if that's been released).


What assembly are you trying to debug? Is it a system assembly? Is it an assembly you added to your project (that was built w/o debugging symbols)? Or?
Comment 4 Jamie Briant 2012-01-14 01:39:40 UTC
All my assemblies have "Emit debugging information" checked in the compiler section and "Enable debugging" is checked in the iPhone Build section. 

The problem isn't really the lack of debugging symbols. The problem is the massive spew.
Comment 5 Jeffrey Stedfast 2012-01-16 12:19:27 UTC
The only reason I know of for the AbsentInformationException is if it is missing debug symbols in one of the assemblies, that's why I asked.

If that's not the case, then I guess there's some other error.
Comment 6 Jeffrey Stedfast 2012-01-16 15:04:40 UTC
Did some digging and the only way this exception is thrown is if the app's user assemblies do not contain debugging information.

So... either your user assemblies do not contain debugging information (somehow) or there is a bug in the runtime that is telling MonoDevelop that it doesn't have information that it actually has.

Unfortunately your stack trace doesn't contain enough context to tell exactly what is going on. Would it be possible to attach a sample project that illustrates this bug?

I could remove the debug spew, but that would just be ignoring the deeper issue.
Comment 7 Jamie Briant 2012-01-17 02:21:29 UTC
>I could remove the debug spew, but that would just be ignoring the deeper
issue.

The debug spew is making the product unusable for debugging right when I am attempting to ship my client's first app.

Please fix the spew ASAP.
Comment 8 Jeffrey Stedfast 2012-01-17 11:46:51 UTC
Should be fixed now, but since I can't reproduce it I can't be 100% sure.