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?
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?
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