[MonoDevelop] How to debug MonoDevelop "native" on Mac?

Sandy Armstrong sanfordarmstrong at gmail.com
Thu Jan 8 14:24:41 EST 2009


On 01/08/2009 11:03 AM, Herald wrote:
> The "native" Mac MonoDevelop app crashes left and right on my system; someone
> suggested I collect the stack traces when it crashes, and file bug reports.
> I'm researching how to do this now, reading
> http://www.mono-project.com/Debugging about debugging Mono , where it
> instructs us that " it is necessary to compile your programs with debugging
> information." Has the "native" Mac MonoDevelop package been compiled with
> debugging information so that I may apply the stack traces to it? If so,
> what command do I run in Terminal.app (which is Mac's console application)?
> Thanks.

I don't know if the .mdb (debugging) files are included in the 
MonoDevelop.app; if they were you would want to add --debug in the mono 
command line of /Applications/MonoDevelop.app/Contents/MacOS/monodevelop .

You can still get a useful stack trace even without debug information 
(it just won't have line numbers and other niceties).

Either way, the output will go to Console.app.  Or, if you prefer, you 
can run the monodevelop script I mention above directly from Terminal.app.

Best,
Sandy


More information about the Monodevelop-list mailing list