Log in

View Full Version : logging certain function calls


JH1
December 3rd, 2003, 06:26
Hi,

I would like to be able to view a log of all calls together with parameters to a particular function. What is the best way to go about this...can I achieve it with trace? I occasionally get an access violation in my prog and have narrowed it down to a particular function, I do not want to log anything else, just calls to this function.

Thanks in advance

JH

TBD
December 3rd, 2003, 08:50
you can put breakpoints on all callers to your "buggy" function or
add a SEH to pinpoint the location of access violation

JH1
December 3rd, 2003, 09:22
Thanks - conditional log breakpoints that don't pause the program was exactly what i was after.

JH