Re: building with debugging turned on
brian <briand-/[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
Hi John, Right, the problem is I can't seem to find how to add the -g option to the build. I think I originally installed using the Mac OS X package. Do I need to grab the sources and build from scratch ? I can't seem to find any guidance in the doc's including installation instructions and my own travels among the README's. Thanks Brian On Mar 23, 2006, at 8:28 PM, John Reppy wrote: > 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 > _______________________________________________ > 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