Stefano Mtangoo
Stefano Mtangoo

Reputation: 6550

DBGP Implementation C/C++

Is there a Library that implements XDebug's DBGP in C/C++? I'm interested in wrtting debugger and if such library exists will save me a lot! I want to add the debugger to my editor coded in C++ Language but it is an editor for PHP Files.

Upvotes: 0

Views: 451

Answers (2)

Stefano Mtangoo
Stefano Mtangoo

Reputation: 6550

None Exists. There was one from GSOC (App not a library) but I cannot take time to read and convert to my needs plus its written for wx2.8 So I will roll a class to Just glue up with my Editor

Edit I ended using that one as I said. Inside there is buggy libDBGp but I will fix it myself huh! If you are interested its here (thanks to GitHub)

Upvotes: 1

There are a few GDB based libraries that help debugger frontend writers like libgdb. DBGP is a very stupid and protocol with very small feature set - not enough for debugging C++.

For windows there is nothing like this. You can read the PDB database but it's pretty difficult. I spend a week to see how far i can get but wasn't very successfull. only the theory is easy. It might be better to write a frontend for the command line debugger windbg just like in the old days where you had to do this for GDB.

Upvotes: 0

Related Questions