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

Sandy Armstrong sanfordarmstrong at gmail.com
Thu Jan 8 17:37:35 EST 2009


On 01/08/2009 02:30 PM, Harold Johnson wrote:
> Ugh! Sorry for so many emails, but I made the mistake of posting the
> output as displayed in Terminal.app; following is the console.log
> output: (Please note that MonoDevelop did not launch when running the
> --debug option. Is it supposed to?)

I meant to put the --debug *in* the monodevelop script, like this:

OSX_VERSION=$(uname -r | cut -f1 -d.)

if [ $OSX_VERSION -lt 9 ]; then
         $MONO --debug $ASSEMBLY "$@"
else
         exec -a monodevelop $MONO --debug $ASSEMBLY "$@"
fi

That being said, I'm pretty sure it should have worked the way you did 
it.  Unfortunately I can't test it out right now.

> RegisterProcess failed (error = -50)

You already fixed your monodevelop script so it would run on 10.4, 
right?  This looks like the error MD gets which causes it to crash on 
10.4 during launch if you don't fix the monodevelop script.

Anyway, passing --debug isn't *that* important.  Just run MD the way you 
can run it, and when you run into your crash situations, get the 
stacktraces from Console.app.

Sandy


More information about the Monodevelop-list mailing list