Building a primitive debugger in Visual C++

107 views Asked by At

I'd like to build a primitive debugger in Visual C++ that does few basic things:

1) Attaches to a running process. 2) Sets breakpoints in the applications. 3) Reads register values.

How involved is this, and where does one start?

2

There are 2 answers

0
dirkgently On

Since you have not specified the version of VS you are using/plan to use it is a bit difficult to suggest something that will work for you. Assuming you are on VS2005, here's something to munch on: Creating a Custom Debug Engine

0
Asaf On

I guess you can start here