Tôi có hai nghĩa chồng cho một C++ chức năng và tôi muốn thiết lập một breakpoint trên một trong số họ:Windbg: Làm thế nào để thiết lập điểm ngắt trên một trong những quá tải của một hàm 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'
Heck tôi sẽ tốt với thiết breakpoint trên tất cả các quá tải, nhưng dường như không thể tìm ra như thế nào:
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*'