我有一个c ++函数的两个重载,我想在其中一个上设置一个断点:
0:000> bu myexe!displayerror Matched: 00000000`ff3c6100 myexe!displayError (int, HRESULT, wchar_t *) Matched: 00000000`ff3c60d0 myexe!displayError (int, HRESULT) Ambiguous symbol error at 'myexe!displayerror'
哎呀我可以在所有重载上设置断点,但似乎无法弄清楚如何:
0:000> bu myexe!displayerror* Matched: 00000000`ff3c6100 myexe!displayError (int, HRESULT, wchar_t *) Matched: 00000000`ff3c60d0 myexe!displayError (int, HRESULT) Ambiguous symbol error at 'myexe!displayerror*'
Chris Jester.. 7
尝试:
bu 0xff3c6100
如果我没记错的话,WinDbg也允许按地址设置断点.
尝试:
bu 0xff3c6100
如果我没记错的话,WinDbg也允许按地址设置断点.
您是否尝试过“ bm myexe!displayerror *”?