Wich version of Lazarus?
I know it does not work under 2.2.6.
I just tested with 2.3 => works (99%-ish)
- breakpoint work in library and project
- When in the library, vars from the lib work
However, when in the lib, vars (even globals) from the project don't show in watches.
And vice versa.
Also The library does not show blue dots yet. Mainly a visual issue, but also if you edit the library while debugging, the editor want keep track where the original lines are.
In 2.2.6 you can try and use the gdb based debugger.
Might work, kinda... (not tested in a while)