There is a article in MSDN which provides the procedure: http://msdn.microsoft.com/en-us/library/aa295838(VS.60).aspx#_core_setting_a_breakpoint_when_a_register_expression_is_true
But it seems that i tis for visual studio 6 ... Actually I can not find the "Breakpoint" entry under "Edit" Menu...
Do you guys know how to do that? I want to break when EAX change to an error code so I can find the place where this error is returned..
Thanks!