My project is to build a debugger that will keep a log of all functions that the debugged application will call , along with the parameters passed . Of course , this includes calling functions from a DLL .
I already know how to make a sample debugger and do the loop with WaitForDebugEvent etc . The problem is , that I don't know either how to set a breakpoint , or how to be notified when the application calls a DLL function .
In DOS , there was a flag that if set , the interrupt 1 was called after each command . Should I do the same for windows and recognize any CALL assembly instruction , check the stack and find out what were the parameters ?
I don't know anything about these however . Please help =)