[MonoDevelop] debug the debugger
Scott Walters
scottw512 at hotmail.com
Thu Jun 30 12:54:22 EDT 2005
Thanks for the info. My MonoDevelop bin folder doesn't have any pdb files.
Do you know of a make or autogen switch to build MonoDevelop with debug
info?
>From: Rafael Teixeira <monoman at gmail.com>
>Reply-To: Rafael Teixeira <monoman at gmail.com>
>To: Scott Walters <scottw512 at hotmail.com>
>CC: monodevelop-list at lists.ximian.com
>Subject: Re: [MonoDevelop] debug the debugger
>Date: Thu, 30 Jun 2005 11:41:40 -0300
>
>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!
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the Monodevelop-list
mailing list