Using OpusBug()

Within the CommonPoint application system, OpusBug() is a function that calls CommonPointDebugger--a UNIX program script--which runs a debugger to attach to your running process. While it is fairly limited because the UNIX environment is very different from other development environments, OpusBug() provides the rudiments of printing a message and starting a debugger.

When you call OpusBug() within the CommonPoint application system, it

Because OpusBug() invokes CommonPointDebugger via a system() call, it carries a few restrictions:

Here is the prototype for OpusBug():

    void OpusBug(char *message);    // Print the message, and call CommonPointDebugger
To provide enough information for a debugger to attach to a running process, OpusBug() passes two arguments, the process ID and the calling program name.


[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