How to debug in Lazarus win64? lazarus / 12-Debugger ---------------------------------------------------------------------- fastboy · 2008-01-10 22:25 I've ported my Delphi project into Free Pascal to support Windows Xp/Vista x64 Edition. After several days of code editing in Lazarus the compilation stage was completed, and the binaries are ready for debugging. But how??? Any ideas? Configuration: Lazarus 0.9.24 beta x86_64-win64-win32/win64 Windows XP x64 Edition ---------------------------------------------------------------------- Marc · 2008-01-14 10:33 IIRC there is no debugger support yet for 64bit windows executables. (there is no gdb for 64bit) BTW, if you want to debug 32bit apps on a 64bit windows, you need either a gdb 6.7 (or newer) or my patched gdb 6.6 http://www.dommelstein.nl/scrap/gdb.6.6.patched.zip ---------------------------------------------------------------------- fastboy · 2008-01-14 20:13 Unfortunately, I suspected exactly so... Unfortunately-II, a 64bit app needs to be debugged on 64bit windows. It looks like old good messagebox-debugging is on the way But thanks anyway for the answer! ---------------------------------------------------------------------- Marc · 2008-01-15 13:53 If you Uncheck Windows GUI application checkbox in the Compiler options linking tab, then you can use WriteLN or DebugLN to write text to a console. Also with some tricks it is possible to debug a 64bit windows app with a 32bit debugger. I only don't know if gdb supports this. ---------------------------------------------------------------------- Franciscus · 2008-05-15 08:32 Some Googling shows that HP offered a gdb64 some years ago. Someone must have compiled it to a 64-bit target (Linux or Solaris?). I am in dire need of a 64-bit debugger and am prepared to pay for a port of gdb to 64-bits Windows x64. I saw a forum somewhere, where one could offer money for FPC/Lazarus jobs, something like rentacoder, anyone knows where to find it? EDIT: I posted a 500 USD "bounty" for a gdb64.exe for x64 here: http://wiki.lazarus.freepascal.org/Bounties#Windows_bounties