Forum > Debugger

fpDebug not goto error line in source code

<< < (2/3) > >>

tsknv:
Screenshot stack and asm the windows attached this message

tsknv:

--- Quote from: Martin_fr on May 26, 2022, 01:29:22 pm ---...
Unfortunately it will take some time to fix...
The stack window should show some info, and you can locate your code in there.

--- End quote ---

Understood. Thanks you.

korba812:
It looks like you have fpc packages compiled without debug information. You need to compile packages (fcl-db in this case) with debug information enabled.

Martin_fr:

--- Quote from: korba812 on May 26, 2022, 02:13:14 pm ---It looks like you have fpc packages compiled without debug information. You need to compile packages (fcl-db in this case) with debug information enabled.

--- End quote ---
No, he doesn't need. (unless he wants to see the line in fcl-db)

If there is no debug info in fcl-db, then the debugger is supposed to find the first line that has debug info.
In this case his ButtonClick.

tsknv:

--- Quote from: korba812 on May 26, 2022, 02:13:14 pm ---It looks like you have fpc packages compiled without debug information. You need to compile packages (fcl-db in this case) with debug information enabled.

--- End quote ---
In this example I debug only my project, I don't want to debug packages.

I change only debuger in Lazarus options and no change any other options - GDB shows the line in the my project (not in the package, packages compiled without debug infomation) that caused the exception, fpDebug does not.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version