views:

41

answers:

2

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?

A: 

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

dirkgently
Sorry, VS2008. Thanks.
heyitsme
+1  A: 

I guess you can start here

Asaf