Re: building with debugging turned on
John Reppy <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
This is what I usually do when confronted with a crash. You should compile the runtime system with "-g" and then run gdb on it. Use the @SMLload option to the runtime system to load thee sml heap image (the standard one is in bin/.heap. - John On Mar 23, 2006, at 8:56 PM, brian wrote: > Well I can't seem to figure out where these seg faults are coming > from with nl-ffi so it's time to do things the hardware. > > Is it very reasonable to try and build my program with debugging > turned on so I can try to track down the problem using gdb ? > > Perhaps there is a better way ? > > Thanks > > Brian > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Smlnj-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smlnj-list > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642