Recent

Author Topic: [SOLVED] Debugger do not enter a function in package.  (Read 2321 times)

BSaidus

  • Hero Member
  • *****
  • Posts: 596
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
[SOLVED] Debugger do not enter a function in package.
« on: October 03, 2023, 09:55:27 am »
Hello.
I have installed a package ( TDI from CCR), while trying to debug, I put a breakpoint into a function in file from package.
The debugger ignore completely the breakpoint.
PS: I compiled both the package & the application in different debug modes ( GDB, fpDebug).
      I use lazarus 2.3 / fpc 331.

Thanks.
« Last Edit: October 03, 2023, 10:05:10 am by BSaidus »
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

BSaidus

  • Hero Member
  • *****
  • Posts: 596
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
[SOLVED] Re: Debugger do not enter a function in package.
« Reply #1 on: October 03, 2023, 10:04:29 am »
Ooops,
It do not work because, while compiling, the debug symbols are in a separate files.
i.e the linker generate 2 tiles (app.exe, app.dbg).
In the options of project, I disabled the option ( Use external debug symbols )

It works, Thanks.
« Last Edit: October 03, 2023, 11:39:03 am by BSaidus »
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

 

TinyPortal © 2005-2018