[fpc-pascal] Debug Under Win64

Denis Nazarenko denis at sprigsoft.com
Wed Jan 19 15:47:38 CET 2011


Hi,

I'm sorry for the dumb question but I'm not Lazarus professional :(

I can't debug under Win 64

I try do the following -
Setup Lazarus from this link
ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/Lazarus-0.9.31-29112-fpc-2.4.3-20110119-win64.exe
after this I has download new version
of gdb
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/sezero_20101003/mingw-w64-bin_x86_64-mingw_20101003_sezero.zip/download

And change the following settings -
IDE Settings - Debugger -
C:\lazarus\mingw64\bin\gdb.exe
In project settings check -
(-g)Generate debug info for GDB
(-gl)
(-gw) Generate Debug info in DWARF
(-Xg) Use external file for debug simbols GDB

Also I try to use this option -
-WB00400000

The project was converted from Delphi. And I can debug only main
source file but when I try to debug forms I get error from debugger.

Please help!


-- 
Best regards, Dennis Nazarenko
denis at sprigsoft.com,
http://www.ordinarysoft.com




More information about the fpc-pascal mailing list