I would like to connect my compiled object code to the c++ code, and then to check if a certain line of code was executed. How to do those two things?
If the explanation is not simple (I bet it is not), can someone at least point to some web pages explaining how to do this?
I understand that the solution is different for different platforms, but I am interested in how it is done on windows and linux (linux for the start)
Some widely used debuggers are: Arm DTT, formerly known as Allinea DDT. Eclipse debugger API used in a range of IDEs: Eclipse IDE (Java) Nodeclipse (JavaScript) Firefox JavaScript debugger.
If you want to know how it is done,
ptrace
syscall should get you started, this is a nice article using ptrace
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With