Re: [fpc-pascal]RE: Debugging FPC

2003-08-22 Thread James Mills
On Thu, Aug 21, 2003 at 09:44:30PM -0700, Jeff Pohlmeyer wrote: > > With compile modes: -gg -gl > > Aren't line info and tracebacks suppose to be shown, > > the above example does not show these. > > > I think the problem comes with using exceptions. Normally, if a > run-time error occurs, the d

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 11:08:14AM +1000, James Mills wrote: > I think perhaps I need to repost my question as I saw the mailing list > server go down yesterday... > > Hi, > > 1) Is there anyway of finding out the cooresponding source line when a > program crashes and only outputs the following:

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Fri, 22 Aug 2003, James Mills wrote: > > An unhandled exception occurred at 0x080A33B1 : > > List index exceeds bounds (-1) > > 0x080A33B1 > > Also anyone out there, I'd really like to know if the above is possible > ... I have to find the source of this particular defect in 19,000 LOC. > A

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 09:30:49AM +0200, [EMAIL PROTECTED] wrote: > > > On Fri, 22 Aug 2003, James Mills wrote: > > > > An unhandled exception occurred at 0x080A33B1 : > > > List index exceeds bounds (-1) > > > 0x080A33B1 > > > > Also anyone out there, I'd really like to know if the above is

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Fri, 22 Aug 2003, James Mills wrote: > what is gdbpas ? I'm using FPC 1.0.6 ... gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The "pas" stands for "with pascal extensions". Jonas PS: please only quote the part of the original mail that's necessary to understand the conte

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 10:35:15AM +0200, [EMAIL PROTECTED] wrote: > > > gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The "pas" > stands for "with pascal extensions". I do not seem to have this anywhere on my system. Of course I have gdb. Can I get it somewhere ? (Perhaps the D

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Fri, 22 Aug 2003, James Mills wrote: > > gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The "pas" > > stands for "with pascal extensions". > I do not seem to have this anywhere on my system. Of course I have gdb. > Can I get it somewhere ? (Perhaps the Debian maintainer didn'

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread Peter Vreman
>> gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The >> "pas" >> stands for "with pascal extensions". > I do not seem to have this anywhere on my system. Of course I have gdb. > Can I get it somewhere ? (Perhaps the Debian maintainer didn't include > it in 1.0.6) You can use the

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 03:14:20PM +0200, Peter Vreman wrote: > You can use the gdb available in Debian. It has already the pascal support > included. (gdb) b HANDLEERRORFRAME Function "HANDLEERRORFRAME" not defined. It doesn't define whatever HANDLEERRORFRAME is though, so what Jonas said won't w

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread Peter Vreman
> On Fri, Aug 22, 2003 at 03:14:20PM +0200, Peter Vreman wrote: >> You can use the gdb available in Debian. It has already the pascal >> support >> included. > (gdb) b HANDLEERRORFRAME > Function "HANDLEERRORFRAME" not defined. > > It doesn't define whatever HANDLEERRORFRAME is though, so what Jona

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread jonas
On Sat, 23 Aug 2003, James Mills wrote: > (gdb) b HANDLEERRORFRAME > Function "HANDLEERRORFRAME" not defined. > > It doesn't define whatever HANDLEERRORFRAME is though, so what Jonas > said won't work... Of course, I forgot that the RTL we distribute doesn't contain symbol information. Go to th

[fpc-pascal]Unsubscribing

2003-08-22 Thread DigitalVertex
Hi, I'd like to unsubscribe this list, because I will not be able to check it for a long time. Unfortunately, I don't know how. On this site: http://lists.freepascal.org/mailman/listinfo/fpc-pascal there's only information about subscribing. I'd be glad if an admin could remove me or someone co

Re: [fpc-pascal]Unsubscribing

2003-08-22 Thread jonas
On Fri, 22 Aug 2003 [EMAIL PROTECTED] wrote: > On this site: http://lists.freepascal.org/mailman/listinfo/fpc-pascal > there's only information about subscribing. You have to go to the bottom of that pagen, enter your email address, click on "edit options" and then you can unsubscribe. It's cou

[fpc-pascal]Runtime Error Source References

2003-08-22 Thread Mark Emerson
With all this discussion of using GDB (and the associated hassles) to get runtime error source references, I fondly remember my Turbo Pascal days, and the AMAZED delight the first time (about 1982) I encountered a runtime error and there was a choice to press "E" and be taken into the editor to the