Archived

This topic is now archived and is closed to further replies.

Hardware breakpoints?

This topic is 5109 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anyone know how to set a hardware break point in VC.net to break when a memory location is accessed/modified? I see where you set a breakpoint for a memory location, but I''m not sure what the condition should be for the break.

Share this post


Link to post
Share on other sites
Nevermind, figure it out. Although, now that it''s set it''s not breaking, just sort of freezes for a couple seconds then continues and I see a first chance exception in the debug output window. Anyone know why?

Share this post


Link to post
Share on other sites
1st, it''s called a watchpoint when a piece of memory is read/written.
2nd, I''ve never used VC.net, so i don''t know why it acts that way, but for alot of processors, setting a hardware watchpoint does create an exception, but the software should be able to handle it and stop execution there.

Share this post


Link to post
Share on other sites