Debugging an application

You can use SNiFF+, through its communication with the xcdb debugger, to debug non-Document framework applications. Before running the debugger in SNiFF+, set up the Project Editor Preferences:

  1. Double-click the project name in the bottom area of the SNiFF+ window. A Preferences dialog appears.
  2. Verify or set up the target (your application's name), the source path (the path to your source code), and the Make command (it should be Makeit).
To start the debugger from within SNiFF+, choose Debug Target from the Exec menu of the Editor. Doing this launches the debugger in a separate window from which you can set breakpoints, step through code, and print variable values.

If you don't want to debug within the SNiFF+ environment, use xcdb. This debugger brings up its own windowing environment in which to debug. Launch xcdb by using the Taligent script TalDB along with the SourcePath option containing the path to your source.

    TalDB [-s SourcePath ... ] yourApplicationName 

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker