8AB8=3  3 4 . 5 .   #AB0=>2:0  0??0@0B=KE  B>G5:  >AB0=>20  A  ?@8:;04=>3>  C@>2=O  ( D r x . c ) 
 
 
 
 S e t B r e a k P o i n t ( v o i d *   p ) 	 	 / /   CAB0=>2:0  B>G:8  >AB0=>20
 
 { 	 	 	 
 
 	 / /   ?>;CG05<  45A:@8?B>@  B5:CI53>  ?>B>:0	 	 
 
 	 C O N T E X T   c t x ;   H A N D L E   h   =   G e t C u r r e n t T h r e a d ( ) ; 	 
 
 	 	 	 
 
 	 / /   ?>;CG05<  A>45@68<>5  >B;04>G=KE  @538AB@>2	 
 
 	 c t x . C o n t e x t F l a g s   =   C O N T E X T _ D E B U G _ R E G I S T E R S ;   G e t T h r e a d C o n t e x t ( h ,   & c t x   ) ; 
 
 	 	 	 
 
 	 / /   CAB0=02;8205<  B>G:C  >AB0=>20  =><5@  0   ?>  04@5AC  p   =0  8A?>;=5=85
 
 	 c t x . D r 0   =   p ; 	 	 
 
 	 c t x . D r 7   =   (   c t x . D r 7   &   0 x F F F 0 F F F F   )   |   0 x 1 0 1 ; 	 
 
 	 	 	 
 
 	 / /   >1=>2;O5<  @538AB@>2K9  :>=B5:AB	 	 
 
 	 S e t T h r e a d C o n t e x t (   h ,   & c t x   ) ; 	 	 
 
 } 	 	 	 
 
 	 	 	 
 
 U n S e t B r e a k P o i n t ( ) 	 	 / /   A=OB85  B>G:8  >AB0=>20
 
 { 	 	 	 
 
 	 / /   ?>;CG05<  45A:@8?B>@  B5:CI53>  ?>B>:0	 	 
 
 	 C O N T E X T   c t x ;   H A N D L E   h   =   G e t C u r r e n t T h r e a d ( ) ; 	 
 
 	 	 	 
 
 	 / /   ?>;CG05<  A>45@68<>5  >B;04>G=KE  @538AB@>2	 
 
 	 c t x . C o n t e x t F l a g s   =   C O N T E X T _ D E B U G _ R E G I S T E R S ;   G e t T h r e a d C o n t e x t ( h ,   & c t x ) ; 
 
 	 	 	 
 
 	 / /   2K:;NG05<  B>G:C  >AB0=>20  =><5@  0 	 	 
 
 	 c t x . D r 7   =   (   c t x . D r 7   &   0 x F F F F F F F E   ) ; 	 	 
 
 	 	 	 
 
 	 / /   >1=>2;O5<  @538AB@>2K9  :>=B5:AB	 	 
 
 	 S e t T h r e a d C o n t e x t (   h ,   & c t x   ) ; 	 	 
 
 } 	 	 	 
 
 	 	 	 
 
 / /   DC=:F8O  =0  :>B>@CN  <K  AB028<  B>G:C  >AB0=>20	 
 
 t e s t ( ) { p r i n t f ( " t h i s   i s   j u s t   a   t e s t \ n " ) ; } 	 
 
 	 	 	 
 
 m a i n ( ) 	 	 
 
 { 	 	 	 
 
 	 _ _ t r y { 	 	 
 
 	 	 t e s t ( ) ; 	 / /   2K7K205<  t e s t   4>  CAB0=>2:8  B>G:8  >AB0=>20
 
 	 	 S e t B r e a k P o i n t ( t e s t ) ; 	 / /   CAB0=02;8205<  B>G:C  >AB0=>20
 
 	 	 t e s t ( ) ; 	 / /   2K7K205<  t e s t   ?>A;5  CAB0=>2:8  B>G:8  
 
 	 	 	 / /   >AB0=>20
 
 	 } 	 	 
 
 	 	 	 
 
 	 _ _ e x c e p t ( 1 ) 	 	 
 
 	 { 	 	 
 
 	 	 p r i n t f ( " h e l l o ,   b r e a k p o i n t ! \ n " ) ; 	 
 
 	 	 U n S e t B r e a k P o i n t ( ) ; 	 / /   A=8<05<  B>G:C  >AB0=>20
 
 	 } 	 	 
 
 	 t e s t ( ) ; 	 / /   2K7K205<  t e s t   ?>A;5  A=OB8O  B>G:8  
 
 	 	 / /   >AB0=>20
 
 } 	 	 	 
 
 