Recent

Author Topic: My application crashes without any reason  (Read 1236 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6708
  • Debugger - SynEdit - and more
    • wiki
Re: My application crashes without any reason
« Reply #15 on: September 29, 2020, 09:44:07 pm »
Ok, then you need to go to the menu "Package" > "Install/Uninstall Packages..."

On the right side find and select "LazDebuggerFp" and then press "Install Selection". Next "Save and rebuild IDE"
Your IDE should compile and then restart.

Now you should see "FpDebug internal Dwarf debugger"

Milsa

  • Full Member
  • ***
  • Posts: 232
Re: My application crashes without any reason
« Reply #16 on: September 30, 2020, 10:23:53 pm »
Thank you very much.
lazarus has a number of settings that ordinary people have no idea about.
This needs wiki article.

I see an error line now in call stack!

Again, big thanks.

What is dwarf 2 or 3? I set 3.
Does exists situations when is better standard debugger?
I work with Lazarus 2.0.10, FPC 3.2.0, SVN 63526
This information is actual to: 1st Aug 2020

Zoran

  • Hero Member
  • *****
  • Posts: 1605
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: My application crashes without any reason
« Reply #17 on: October 01, 2020, 11:48:26 am »
« Last Edit: October 01, 2020, 11:50:24 am by Zoran »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6708
  • Debugger - SynEdit - and more
    • wiki
Re: My application crashes without any reason
« Reply #18 on: October 01, 2020, 12:46:39 pm »
What is dwarf 2 or 3? I set 3.
Dwarf 3 is generally better. But gdb does not work well with it. (some gdb do work with it, but still some issues remain / note that the issues may be partly caused by fpc, not gdd)

Quote
Does exists situations when is better standard debugger?
FpDebug will hopefully at some point replace the gdb based debugger (except for certain cross compile targets)

At the moment, FpDebug is not yet feature complete. E.g., it can not modify variables while the app is running.
But FpDebug is way better at showing watches. (gdb will fail with some of them)

See the links in the post above.
FpDebug is very useable already. Quite a few people already use it as default.

 

TinyPortal © 2005-2018