Jacques
May 29th, 2004, 18:12
Greetings all,
I posted this question a few weeks ago now... lots of people read it, but there were 0 replies. (I suppose that means that it was either not an easy question, or it's so silly nobody bothered to reply. :-) Anyways, I thought I would try again cause I'm still stuck:
I have been using SoftIce for a few months now, but there is one thing that I can't figure out and haven't found any mention of in the documentation or any tutorial. The question is:
How do you set a breakpoint on a class method?
More specifically how do you set a breakpoint on a custom method like "MyClass::MyMethod()" or an MFC method like CString::Format()?
I am certain that the symbols are loaded, and I can see "CClass::MyMethod" in the .nms file, so I don't think it's that. If I manage to find the location for "MyClass::MyMethod()" in the Softice code window, then I can set a breakpoint by double clicking on the label in the code window... but this is hardly a practical way of doing so.
My guess is that the problem has something to do with C++ name mangling for class methods... but I don't know how to proceed from here.
Anyone have any ideas?
Thanks,
Jacques
I posted this question a few weeks ago now... lots of people read it, but there were 0 replies. (I suppose that means that it was either not an easy question, or it's so silly nobody bothered to reply. :-) Anyways, I thought I would try again cause I'm still stuck:
I have been using SoftIce for a few months now, but there is one thing that I can't figure out and haven't found any mention of in the documentation or any tutorial. The question is:
How do you set a breakpoint on a class method?
More specifically how do you set a breakpoint on a custom method like "MyClass::MyMethod()" or an MFC method like CString::Format()?
I am certain that the symbols are loaded, and I can see "CClass::MyMethod" in the .nms file, so I don't think it's that. If I manage to find the location for "MyClass::MyMethod()" in the Softice code window, then I can set a breakpoint by double clicking on the label in the code window... but this is hardly a practical way of doing so.
My guess is that the problem has something to do with C++ name mangling for class methods... but I don't know how to proceed from here.
Anyone have any ideas?
Thanks,
Jacques