Recent

Author Topic: debugger error  (Read 151 times)

john iobst

  • Newbie
  • Posts: 4
debugger error
« on: July 18, 2026, 09:41:31 pm »
just installed lazarus 4.6 fpc 3.2.2 on imac m1 with 26.5.2

if i create a new app (essentially empty, no components other then the form) it compiles and runs just fine.

if i save to a new folder and try to compile and run i get a debugger error screen. it says "the debugger encountered an internal error."

the app file is corrupt.

trying to run w/o debugging does nothing.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12641
  • Debugger - SynEdit - and more
    • wiki
Re: debugger error
« Reply #1 on: July 18, 2026, 10:38:42 pm »
Does it give any extra info (is there a "more" button)?

Also please confirm your setup
1) Menu: Tools (may be settings or preferences on MAC?) > Options: Debugger > Backend
   What backend is selected
2) Menu Project: Project Options > Compiler > Debugging
   What "Type of debug info" is selected?
   You can try different "DWARF" types here to see if the error goes away.


Can you also please go to Menu: View > Ide Internals > Debug output.
- Open this window (do that first)
- then run/debug your app to get the error
- Now copy the content of the "debug output" window

And sometimes the IDE prints extra info to STDOUT, so if you can open a terminal and start the IDE from the terminal, after the error check if there is any output.

 

TinyPortal © 2005-2018