This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

anyone have a better method

when I have to catch accesses to foo() and some pesky valid call happens all the time, in code like this:

void foo(BYTE x}
[
......
]

foo(47); // one of many that might be the culprit

foo(12); the pesky valid call that happens all the time,

for debug I do the following

void foo(BYTE x}
[
foox(x}; // breakpoint here
]

void foox(BYTE x}
[
......
]

foo(47); // one of many that might be the culprit

foox(12); the pesky valid call that happens all the time,

this may lead to more and more calls being renamed foox, but eventually the culprit is caught

0