Turbo Pascal used to have a "find error" function... Is there a
similar function in Free Pascal (I'm using 1.9.4)? I compiled the
executable with -gl but I get the below:
An unhandled exception occurred at 0x08071049 :
EOutOfMemory : Out of memory
$08071049
$080705FD
$08068B2A
$08068E30
> Turbo Pascal used to have a "find error" function... Is there a
> similar function in Free Pascal (I'm using 1.9.4)? I compiled the
> executable with -gl but I get the below:
>
> An unhandled exception occurred at 0x08071049 :
> EOutOfMemory : Out of memory
> $08071049
> $080705FD
> $08068
When you compile with -gl you need to make sure that you recompile all the
units, as well as the main program, with the -gl flag. Passing a -B flag will
recompile all units (whose sources are found in the path), so:
fpc -gl -B myprogram
If, after doing so, you still lack line info, it's probably
David Emerson wrote:
I don't know if there are any speed considerations.
No, there aren't any except longer compile times ;)
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Thanks David, Pete amd Florian,
When I try Peter's advice, I get
(gdb) info line 0x08071049^
Function "0x08071049" not defined.
I found the section of the FPC User's Manual that talks about gdb and
I assumed that I hadn't used the '-g' option ... but now I'm
wondering if '-gl' should allow gdb
Is there an easy way to monitor memory allocations during a program
run (for debugging purposes)?
Ideally, this would be some sort of hook into the memory manager
rather than something like gdb because the program runs for hours.
A list of the calling subroutine (or line number) and the amoun
I am new to Windows programming so please bear with me if it is some trivial
mistake. I am using FPC.
I have created a window with :
hWindow := CreateWindow (AppName,'First Prog',ws_OverlappedWindow or
WS_VScroll,
cw_UseDefault,cw_UseDefault,cw_UseDefault,
> I am new to Windows programming so please bear with me if it is some trivial
> mistake. I am using FPC.
>
> I have created a window with :
> hWindow := CreateWindow (AppName,'First Prog',ws_OverlappedWindow or
> WS_VScroll,
> cw_UseDefault,cw_UseDefault,cw_UseDefault
Alan Mead wrote:
Is there an easy way to monitor memory allocations during a program
run (for debugging purposes)?
I guess the easiest is using the heaptrc unit and modifying it for your
needs.
Ideally, this would be some sort of hook into the memory manager
rather than something like gdb because
Den Jean wrote:
On Sunday 07 November 2004 04:30 am, Florian Klaempfl wrote:
Before I can test it, I've to reinstall my Zaurus, when updating to
3.5.1, the installation got broken :/
It is time to reinstall your Zaurus.
Hopefully, I'll get the new (and bigger ;)) SD card today so I can
reinsta
10 matches
Mail list logo