How to put a breakpoint at the end of a function in windbg, so that I dont need to edit it even if s

Posted by shan23 on Stack Overflow See other posts from Stack Overflow or by shan23
Published on 2010-04-02T10:31:54Z Indexed on 2010/04/02 12:33 UTC
Read the original article Hit count: 446

I need to log some data when some functions are hit, both at the start of execution and and the end of it. While i have no problem with putting breakpoints at the start of the functions(using bu [module]!functionname, I dont know how to put a breakpoint at the end of a function, SUCH THAT i dont need to edit the breakpoint everytime i add/delete somelines from the file/function. I'm sure its a very common scenario, just that I dont know how its done !! Can anyone elucidate ?

© Stack Overflow or respective owner

Related posts about WinDbg

Related posts about conditional-breakpoint