Breakpoint

Suspends the execution of an NLM and causes a break into the NetWare Internal Debugger

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Thread

Syntax

  #include <nwthread.h>  
   
  void Breakpoint  (  
     int   breakFlag); 
  

Parameters

breakFlag
(IN) Specifies whether or not to take a breakpoint.

Return Values

None

Remarks

This function causes a breakpoint in the program if breakFlag is nonzero. The breakpoint occurs at the instruction following the call to Breakpoint. The breakFlag parameter can be any nonzero value to cause a breakpoint. The breakFlag value is loaded into the EDI register.

NOTE:If your application relies on the EDI register, you should not call Breakpoint with a nonzero value. Rather, call EnterDebugger, which merely enters the system debugger.