Cannot run heaptrc when compiling with Dwarf with sets ( -gw -godwarfsets) on Win64
Original Reporter info from Mantis: lks
-
Reporter name:
Original Reporter info from Mantis: lks
- Reporter name:
Description:
Win64/Windows 7/x86_64
fpc: Revision 22465 (recent svn)
Compiled with -gl option
lazarus: Revision 38828
Compiled with -gl option
Set up a simple form with one button, which creates a class with one dummy integer record every time the button is clicked. The class is not freed.
Enabled project options Dwarf with sets, checked heaptrc unit, disabled smart linking.
Run the program, click on the button once, and then exit. Instead of displaying the heaptrc display, the program gives a RunError(998) at Address 1001A05F.
heaptrc works if I compile with -g (automatic), but then debugging doesn't work that well.
Is this a known problem? Any workarounds (perhaps compiling fpc/lazarus with different options)?
Mantis conversion info:
- Mantis ID: 23030
- Version: 1.0.1 (SVN)