Home
Auto Debug On Line Help
 
User Script: Auto Debug System

enableAllBreakpointOfDll

The enableAllBreakpointOfDll function to Enable or disable all breakpoints of the dll with Auto Debug System, so user can to change the monitor result dynamic.

void enableAllBreakpointOfDll(
  BSTR szDll,   // Dll Name
  BOOL bEnable  // Enable/Disable
);

Parameters

szDll
Define which dll's function to be enable or disable.
bEnable
Define enable or disable breakpoint for the function.

Return Values

No return value.

Examples

VBscript Example:

sub main
  callEnableFunction
  startProcess "Notepad.exe"
end sub

sub callEnableFunction
    enableAllBreakpointOfDll "comdlg32.dll", true
end sub

JavaScript Example:

function main(){
  callEnableFunction();
  startProcess("Notepad.exe");
}

function callEnableFunction(){
  enableAllBreakpointOfDll("comdlg32.dll", true);
}

Requirements

Auto Debug for Windows: Unsupport.
Auto Debug Professional: Requires version 5.0 or later.

See Also

Script Information Overview, Script Functions, enableBreakpoint

Copyright c 2003-2024, www.autodebug.com All Rights Reserved