[Lazarus] Lazarus debugger location on Win x86/x64

Reinier Olislagers reinierolislagers at gmail.com
Mon Jul 30 10:38:57 CEST 2012

Hi list,

indicates macros are supported in the debugger path.

The location for gdb.exe in EnvironmentOptions.xml is set by default to
<DebuggerFilename Value="%LazDir%\mingw\bin\gdb.exe">

Would it make sense to create this directory structure
or even

This way, we could change the debugger depending on project target,
which helps if you have e.g. both x86 and x64 LCL installed:
<DebuggerFilename Value="%LazDir%\mingw\bin\%TargetCPU%-%TargetOS%\gdb.exe">

Only thing is: I don't know if TargetCPU and TargetOS are actually
supported: I tried looking for LazDir to see if it is an IDE macro
(which it presumably is??) in
and didn't find anything.


More information about the Lazarus mailing list