Hi,
if I remember correctly, there was a standalone fpdebug application. Am I correct ? Because I could not build any project from the fpdebug/app dir.
PS: I used a fresh svn update for fpc trunk and Lazarus trunk.
regards,

Mailing lists / lazarus / 2019-06
7 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
if I remember correctly, there was a standalone fpdebug application. Am I correct ? Because I could not build any project from the fpdebug/app dir.
PS: I used a fresh svn update for fpc trunk and Lazarus trunk.
regards,
Indeed, they are currently broken.
I did fix some of the compile errors (Those I had previously fixed in fpdserver, so I knew how to fix them).
But there are some more.
The one in breakpoints, stem from the fact that more than one breakpoint can be set to the same address. But the original design had not foreseen that.
It looks like fpd has a command do delete "the" breakpoint at "address". But that is not possible. So that needs a redesign (or be made "all" brkpnt at addr).
Haven't looked any further.
Ok it compiles now
fpd.exe yourapp.exe
r
b unit1.pas:33
c
works.
But there is tons of internal output....
IMHO Not very useful as it is.
:-)
I created fpd only to have a simple project to debug the debugger
Marc
Ok it compiles now fpd.exe yourapp.exe r b unit1.pas:33 c works. But there is tons of…
Hi Martin,
On 2019-06-07 15:26, Martin Frb via lazarus wrote:
< snip >
Thank you very much.
regards,
:-) I created fpd only to have a simple project to debug the debugger Marc
Marc Weustink wroteMartin Frb via lazarus wrote:
< snip >
I'm planning to use it as an example / temlate.
I think that it will help me on my goal to write the mEDBG prototcol.
It's easier for me to debug a project in Lazarus than a component for Lazarus in Lazarus .... ;)
regards,
There also is an fpdebug server. But it may not work at all....
Debugging a project is always easier, that debugging the whole IDE. There is an entire framework for debugging the debuggers. So if you write any fpdebug related code, look at the testcase in lazdebuggers/lazDebuggerFp/test