Click here to Skip to main content
15,891,847 members
Articles / Desktop Programming / Win32

Toggle hardware data/read/execute breakpoints programmatically

Rate me:
Please Sign up or sign in to vote.
4.97/5 (41 votes)
23 Jul 2008CPOL2 min read 174.5K   4.7K   84  
Simple code to introduce a hardware breakpoint mechanism.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hwbrk64", "hwbrk64.vcproj", "{B6CC677E-981C-4296-A526-95A41D47D10C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test64", "test64.vcproj", "{44807A81-7BE7-47B1-8C75-41C2D0261401}"
	ProjectSection(ProjectDependencies) = postProject
		{B6CC677E-981C-4296-A526-95A41D47D10C} = {B6CC677E-981C-4296-A526-95A41D47D10C}
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x64 = Debug|x64
		DebugOpti|x64 = DebugOpti|x64
		Release|x64 = Release|x64
		ReleaseNopt|x64 = ReleaseNopt|x64
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{B6CC677E-981C-4296-A526-95A41D47D10C}.Debug|x64.ActiveCfg = Debug|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.Debug|x64.Build.0 = Debug|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.DebugOpti|x64.ActiveCfg = DebugOpti|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.DebugOpti|x64.Build.0 = DebugOpti|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.Release|x64.ActiveCfg = Release|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.Release|x64.Build.0 = Release|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.ReleaseNopt|x64.ActiveCfg = ReleaseNopt|x64
		{B6CC677E-981C-4296-A526-95A41D47D10C}.ReleaseNopt|x64.Build.0 = ReleaseNopt|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.Debug|x64.ActiveCfg = Debug|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.Debug|x64.Build.0 = Debug|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.DebugOpti|x64.ActiveCfg = DebugOpti|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.DebugOpti|x64.Build.0 = DebugOpti|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.Release|x64.ActiveCfg = Release|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.Release|x64.Build.0 = Release|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.ReleaseNopt|x64.ActiveCfg = ReleaseNopt|x64
		{44807A81-7BE7-47B1-8C75-41C2D0261401}.ReleaseNopt|x64.Build.0 = ReleaseNopt|x64
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Greece Greece
I'm working in C++, PHP , Java, Windows, iOS, Android and Web (HTML/Javascript/CSS).

I 've a PhD in Digital Signal Processing and Artificial Intelligence and I specialize in Pro Audio and AI applications.

My home page: https://www.turbo-play.com

Comments and Discussions