The fpDebug debugger freezes my application and IDE when I run a debug.
Original Reporter info from Mantis: devEric69
-
Reporter name: devEric69
Original Reporter info from Mantis: devEric69
- Reporter name: devEric69
Description:
I can't use fpDebug.
Steps to reproduce:
- new application.
- new form with a button, and an event in which I code ShowMessage('Hello Laz. + FPC.');
- I put a breakpoint on the line.
- I start debugging.
When I click on the button, everything is definitely frozen.
Additional information:
My OS:
Ubuntu 18.04.2 LTS 64 bits
--- . --- . ---
Lazarus version: 2.1.0
Lazarus svn revision: 62478M
Lazarus build date: 2020/01/03
Lazarus was compiled for x86_64-linux
Lazarus was compiled with fpc 3.0.4
--- . --- . ---
Lazarus' launcher in Ubuntu: : gnome-terminal -e "bash -c 'sudo -i //home/guepard/SauveWinE_etc/lazarus/lazarus --pcp=/home/guepard/SauveWinE_etc/a_projetsLaz/copieW_projetsMaison/eXe_s/e_mini_watched_dirs/tronc/primary_config_path_files_config --debug-log=/home/guepard/SauveWinE_etc/lpk_to_install_manualy/file.log --log-enable=DBG_STATE,DBG_DATA_MONITORS,DBG_ERRORS,DBG_VERBOSE,DBG_WARNINGS,DBG_BREAKPOINTS,DBG_FPDEBUG_VERBOSE,FPDBG_BREAKPOINT_ERRORS,FPDBG_BREAKPOINTS'"
--- . --- . ---
installation with last Releas FPCupDeluxe...
... with (!!!) same overriden infos for FPC and Lazarus (from memory, it's so I can debug the RTL, FPC, etc.): -O1 -gw2 -godwarfsets -gl
[question: is it still ok, if I have to compile afterwards with fpLazDebugger + Dwarf3?]
--- . --- . ---
target: Linux + x86_64
--- . --- . ---
reproductibility:
The IDE is frozen.
I attached 2 log files with fpDebug, but it's like the debugger quickly stops writing to them.
I've attached a log file created with GDB (which apparently works well): it's more "verbose".
--- . --- . ---
I have attached screenshots of the fpDebug configuration in the IDE.
--- . --- . ---
To resume:
given how little written data there is, it might be "mission impossible" to figure out where it came from...
==> don't hesitate to ask questions if you want more information, or additional tests: I'd really like to use this debugger. Nevertheless, as written, I'm not stuck: GDB works.
PS: as the debugger froze in FPC version 3.2 (my initial installation), I reinstalled by downgrading FPC version 3.0.4.
But, so it's the same thing.
Regards
Mantis conversion info:
- Mantis ID: 36509
- OS: Ubuntu
- OS Build: 18.04.2 LTS 64 b
- Platform: Linux x86_64
- Version: 2.3 (SVN)
- Fixed in revision: 62491 (#6cc8e56b)
- Monitored by: » devEric69 (devEric69)