Default Project Properties - Debug Services Options

Applies to TestComplete 15.70, last modified on December 17, 2024

The Debug Services group of the default project properties specifies the default values for the Debug Services options of newly created TestComplete projects. These options affect the DbgServices object and the Debug run mode of tested applications, which are used to trace events and exceptions in the applications under test. Note that these options are available only if the DbgServices plugin is installed and enabled in TestComplete.

To view or modify the default Debug Services options:

  • Select Tools | Default Project Properties from the main menu of TestComplete. The Default Project Properties dialog opens.

  • Select Project | Debug Services from the tree displayed on the left of the dialog.

You can change the following options:

  • Use extended debugger for managed code - Specifies whether the DbgServices plugin will use an extended debugger to trace the execution of managed code. When this debugger is used, TestComplete displays routine names and line numbers for managed routines in the call stack and traces .NET-specific events (Domain Create, Domain Exit, Assembly Loaded, Assembly Unloaded). If the option is disabled, these events are not traced and the call stack does not contain the names and line numbers for managed routines.

  • Events
    • Enable events - See DbgServices Object. Once this object is attached to an application, this option, if it is enabled, allows the object to post messages to the test log for certain application events, such as loading a dll. When the option is disabled, the object does not log any events, except for Output Debug String.

    • Priority - Priority is used for event messages posted to the test log by the DbgServices object (if Enable events is on). You can set a priority that will distinguish DbgServices messages from other messages. Possible values are pmLowest, pmLower, pmNormal, pmHigher and pmHighest.

  • Exceptions

    • Active - Specifies whether the DbgServices plugin traces exceptions that occur in the application under test.

    • Depth shown - If Active is on, this option specifies the number of routines in the call stack. Possible values are 0...500. Default: 10. 0 means no tracing.

To save the changes you made to the options, press OK. Cancel will close the dialog discarding any changes.

See Also

Project Properties - Debug Services Options
Default Project Properties - Project Options
Tracing Events and Exceptions With Debug Services
Debug Mode
DbgServices Object

Highlight search results