[MonoDevelop] debug the debugger

Rafael Teixeira monoman at gmail.com
Thu Jun 30 10:41:40 EDT 2005


Besides compiling with debug info (what will generate .mdb files that
MUST be side-by-side with the executable/libraries files), you need to
run mono with the --debug switch (what the default MonoDevelop
wrapping script normally does).

If either one of those things doesn't happen Stack traces will lack
line information.

:)

On 6/30/05, Scott Walters <scottw512 at hotmail.com> wrote:
> Hi,
> 
> I built MonoDevelop & debugger with the latest sources as of last week and
> it's working but has a few problems. In an effort to try and learn the
> MonoDevelop source more quickly and possibly troubleshoot some of the
> problems I've been having, I decided to try debugging MonoDevelop itself,
> using the "Debug Application" menu option, which produced this stack trace
> 
> Exception occurred:
> 
> System.NullReferenceException: Object reference not set to an instance of an
> object
> in <0x000e4> Mono.Debugger.Backends.SingleSteppingEngine:setup_engine ()
> in <0x0005e> Mono.Debugger.Backends.SingleSteppingEngine:.ctor
> (Mono.Debugger.ThreadManager manager, Mono.Debugger.ProcessStart start)
> in <0x0002f> Mono.Debugger.ThreadManager:start_inferior ()
> 
> I noticed that there are no line numbers. Is this because it wasn't built
> with debug info?  If so, how do I tell autogen to put the necessary flags in
> the Makefile do this for MonoDevelop & debugger?  I've searched the make
> related files but don't see an obvious way.
> 
> Thanks,
> Scott
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!


More information about the Monodevelop-list mailing list