debug_control

debug_control

The debug_control utility allows a user to selectively turn on logging remotely in an application. The application gives the user the ability to control all the debug options available in the BfvDebugModeSetAdv function.

Command Syntax

debug_control [-v] [-u chan]

[-d debug_mode [-f file1 [-f file2 [-m max_size]]]] [-F 01 [-a]]

[-c debug_type[,...] [-l level] [-L file]]

Arguments

 

-d

= Set Bfv API debug mode, optionally with file or

 

files with limit.

debug_mode

= Numerical debug mode value used with

 

BfvDebugModeSet (for example, 255)

-F

= Turn on function entry/exit debugging, optionally

 

with arguments:

 

1 - enable

 

0 - disable

 

-a - use arguments

-c

= Turn on call control debugging, optionally with

 

level or file.

debug_type

= api l3l4 l4l3 int host ip (one

 

or more)

level

= none error warning basic

 

verbose(default)

-v

= Turn on local Bfv API debug mode.

At least one of -d, -F, or -c is required.

The -u option is required for -d and -F.

November 2009

134

Page 134
Image 134
Dialogic 6.2 manual Debugcontrol, November 134