[Mono-devel-list] Segmentation Fault || How to Debug

Brad Fitzpatrick brad at danga.com
Thu Jan 15 22:38:15 EST 2004


Matthew,

$ gdb mono
gdb> run program.exe

(crash)
gdb> bt
(shows a backtrace of where it crashed)


Also, strace is often helpful:

$ strace mono program.exe



On Thu, 15 Jan 2004, Met @ Uber wrote:

> I'm getting a segmentation fault when attempting to run a program I've
> built and was wondering how in the world to debug this error since
> nothing else gets returned and launching mono with '--debug'.
>
> Suggestions?
>
> ~ Matthew
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>



More information about the Mono-devel-list mailing list