Forum > Lazarus
FpDebug 1.0
trev:
There should be an "LLDB debugger (with fpdebug) (Beta)" option.
If not, from the main IDE screen, click Packages->Install/UninstallPackages. Shown is two lists of packages, the list on the left is installed, the list on the right is available to install. Look for LazDebuggerFpLldb (exactly that, there are some similar named but less suitable packages). If it is on the right hand side, click it, press "Install Selection" and then "Save and rebuild IDE". This will take a little time, the IDE will shutdown and restart and all should be well.
prof7bit:
Ok, I installed the missing LazDebuggerFpLldb and now I can select "LLDB debugger (with fpdebug) (Beta)".
But is is still missing something:
When seting a breakpoint it complains
"Es ist kein Debugger angegeben.
Das Setzen von Haltepunkten ist wirkungslos solange nicht im Debugger-Einstellungsdialog im MenĂ¼ ein Debugger festgelegt ist."
(Translated: There is no debugger selected. Can't set breakpoints if there is no debugger selecte in the debugger settings dialog")
Then I enter this dialog again and the only binary I can select is gdb. If I select gdb it will complain during debugging that it expected someting else.
prof7bit:
I built my Lazarus with fpcupdeluxe, is it possible that fpcupdeluxe "forgot" to build the debugger binary?
Should this have happened automatically or should I file an issue with the fpcupdeluxe project once LongDirtyAnimAlf is back from his 2 weeks mountain climbing vacation?
trev:
Lazarus 2.2 RC1 contains Martin's new "FPdebug internal Dwarf-debugger" which requires no additional binaries.
Older Lazarus versions allow the installation of LazDebuggerFpLldb which needs the lldb debugger binary to be installed (as it is, eg, natively on macOS). You will need to install lldb if you wish to use it instead of gdb or install Lazarus 2.2. RC1.
Martin_fr:
--- Quote from: prof7bit on August 22, 2021, 11:45:45 am ---How do I use it?
I only have gdb, gdb through ssh, gdbserver and LLDB in the dropdown list.
Lazarus 2.2.0RC2 rfixes_2_2-0-gc60b5f9a7e FPC 3.2.3 x86_64-linux-qt5
--- End quote ---
If you build from sources, with your existing config, you may have to install the package yourself. Package: LazDebuggerFp
Navigation
[0] Message Index
[#] Next page
[*] Previous page