Same as explained here for Mac.
You need at least a current 2.0 RC of Lazarus (or svn trunk or fixes2.0 branch).
In older RC versions you need to install the package (Package menu) LazDebuggerFpLldb
You need lldb.exe (probably install a full llvm)
Do NOT use the snapshots, they do not always contain lldb.
This *should* work (IIRC)
http://releases.llvm.org/download.html#7.0.1Actually I tested with 6.0.1 sofar. But I guess 7.0.1 should be fine too.
In Tools > Options > Debugger
In the "debugger type" dropdown, you should find and select "LLDB debugger (with fpdebug)"
The edit below this (where you normally have the path to gdb), should be changed to the path of lldb (where ever you saved yours)
If you run into issues please describe which step, and what issue.
---
Edit
- gdb with fpdebug
- fpDebug
- lldb WITHOUT fpdebug (NOT advised)
are all available by installing the correct packages:
LazDebugger....
On Windows FpDebug is really worth a try....Edit2
Note that our source page also offers "Alternative GDB" in the Windows32 / Windows 64 sections.
So if the default version of gdb does not work well for you, you can try newer versions.