Ok, I have never done any debugging using GDB, so I'm pretty lost here.

The page tells me to use a function called "print_method_from_ip", when I do it 
in a gdb session:

(gdb) p print_method_from_ip(0x03f83f1e)
No symbol "print_method_from_ip" in current context.


How do I load these mono functions to my GDB session?

The app is being loaded as:

gdb --args mono Sync.Mac.Cli.exe

Then I hit "run" and then I wait until the program crashes.  

-
Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr



On Thursday, July 12, 2012 at 10:12 AM, Rodrigo Kumpera wrote:

> Which signal did it receive? SIGILL? This is a normal NullReferenceException.
>  
> Follow this: http://www.mono-project.com/Debugging#Debugging_with_GDB
>  
> On Thu, Jul 12, 2012 at 10:06 AM, Maurício Linhares 
> <[email protected] (mailto:[email protected])> wrote:
> > Here's the GDB output:
> >  
> > https://gist.github.com/3097952
> >  
> > -
> > Maurício Linhares
> > http://techbot.me/ - http://twitter.com/#!/mauriciojr
> >  
> >  
> >  
> > On Wednesday, July 11, 2012 at 9:52 PM, Rodrigo Kumpera wrote:
> >  
> > > Run it under gdb so you can catch the error:
> > >  
> > > Instead of: mono foo.exe
> > > Do: gdb --args mono foo.exe
> > >  
> > > Then use the command "run". When it crashes do "t a a bt" and send it 
> > > back.
> > >  
> > >  
> > > On Wed, Jul 11, 2012 at 2:52 PM, Maurício Linhares 
> > > <[email protected] (mailto:[email protected]) 
> > > (mailto:[email protected])> wrote:
> > > > I have a command line Mono app running on the mac and when I run it now 
> > > > it dies (mysteriously, as far as I can understand) with the following 
> > > > message:
> > > >  
> > > > [1] 53435 trace trap 
> > > > "/Library/Frameworks/Mono.framework/Versions/2.10.9/bin/mono" --debug
> > > >  
> > > > Any idea how can I figure out what this is and why it is happening for 
> > > > me?
> > > >  
> > > > I'm running this app from MonoDevelop but running it directly frm the 
> > > > command line also causes the same issue.
> > > >  
> > > > -
> > > > Maurício Linhares
> > > > http://techbot.me/ - http://twitter.com/#!/mauriciojr
> > > >  
> > > >  
> > > >  
> > > > _______________________________________________
> > > > Mono-list maillist - [email protected] 
> > > > (mailto:[email protected]) (mailto:[email protected])
> > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >  
> >  
>  



_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to