beautypg.com

Debug_control, Command syntax – Dialogic 6.2 User Manual

Page 134

background image

debug_control

November 2009

134

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 0|1 [-a]]

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

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

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

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.