Forum > Beginners

[SOLVED] Lazarus 1.8.4 crashing on exit debugging (ctrl + F2)

(1/2) > >>

tudi_x:
hi,
i am running Lazarus 1.8.4 64b on Linux Mint 19 XFCE.
when exiting debug mode with ctrl + F2 Lazarus crashes without any exception or does not exit.
anybody else experiencing the same?
thank you

Martin_fr:
Can you please:
- rebuild the IDE with -gw -O- -Criot
  Go to menu: Tools > Option > Configure build Lazarus
  In custom options enter: -gw -O- -Criot
  build.
- then start the IDE as described here (to get a log file)
  http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session

Also do you have any extra packages installed?

tudi_x:
please find attached the log and exported list of installed packages.
first time i am using flags to recompile - any issues please let me know.

the log was created for the IDE that did not crash on ctrl + F2 but did not exit debug mode.

tudi_x:
do not know if it helps but ctrl + F9 does not compile also.
ctrl + D works for JEDI so the keyboard works...

Martin_fr:
The log unfortunately did not reveal any clues.
It would be good to keep your IDE running with --debug-log, so that if it crashes again there will be a logfile and hopefully a stacktrace.

The option for the recompile are to add debug info, so a stacktrace (hopefully) will have line numbers.

   I forgot: attach a -gl to the options: -gw -Criot -O- -gl
But that only matters, if there is a crash, so it did not affect the current log.

-O- disables optimization. There is a slight change that this "hides" the crash, so you may change the options to -gw -Criot -O2 -gl

====

--- Quote ---but did not exit debug mode.
--- End quote ---
To be precise:
- Your app kept running ?
- The IDE icons for run kept being disabled, as if there was a running app, and the stop button kept being active?

The latter would explain, why you could not compile. (Because if the IDE thinks the debugger still runs....)
In this case you can try from the Run menu: Reset Debugger

According to the log, you started your app twice in the debugger.
Both times I see a 'reason="exited-normally"' => that would indicate the app run to its normal end (no killing via ctrl F2). So if you pressed ctrl-F2 this was after the app had exited (thats ok, that should do no damage)


====
Do you use the new "Desktop" feature of the IDE?

Navigation

[0] Message Index

[#] Next page

Go to full version