CORBA 2.3.3 Programmer's Guide for C++ (NonStop CORBA 2.3.3+)

static void open_trace_file (CORBA::Environment &pr_env);
static void close_trace_file (CORBA::Environment &pr_env);
static void log_trace (char *pp_trace_data,
short pv_trace_data_len,
CORBA::Environment &pr_env);
};
Trace Method Descriptions
The NSDOM_Trace::log_trace() method writes a trace message to the trace file. This method will also create
and open the trace file if this operation has not already been performed by a specific call to the
open_trace_file() method (you need not call open_trace_file() before calling this method).
The NSDOM_Trace::open_trace_file() method provides a means to create and open the trace file before
calling the log_trace() method.
NSDOM_Trace::close_trace_file() provides a way to specifically close the opened trace file.
NSDOM_Trace does not automatically close the trace file until the current process exits.
NSDOM_Trace:: set_trace_file_name() provides an option to specify a user-defined trace filename. This
method allows you to override the default trace file specified in the configuration database. To create a user-specified
trace file, you must call this method before making any calls to open_trace_file() or log_trace().
Using the showior tool
The $NSD_ROOT/bin/unsupported/showior tool can help you in troubleshooting applications. Use this tool
to help determine if a server is publishing the correct information about an object, for example, the right TCP address
and port number. You can also use this tool to determine if a client has the right profiles available, that is, profiles that
match the client's capabilities.
The showior tool traverses the profiles contained in the IOR file and displays the information associated with each
profile. If you need background information to interpret profile information, see Object References. By default,
showior sends the specified stringified IOR file to stdout. You can use the showior output to find problems in
your NonStop CORBA configurations and applications.
Before you can use showior, the environment must be correctly configured, which is done by executing the
$NSD_ROOT/etc/env.sh script.
The showior Tool Syntax
showior [-a | -o] IOR-filename
where
-a
The -a switch is and optional switch available only if you are running showior from JORB Lite. When used,
-a specifies that the profile data is to be displayed in an ASCII/hexadecimal-formatted table. The default
profile data display is mixed ASCII and hexadecimal where an ASCII character is enclosed within square
brackets [ ] and the hexadecimal digit is enclosed within parentheses ( ).
-o