Developer

API Reference

ITRIGMLELEMENT_GetTraceDetails()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
ITRIGMLDEBUG_Trace()
Description
Extracts tracing details from an element into the given debug structures.
Parameters
  • node
    []:
    the element whose details to use for the trace
  • ppDetails
    []:
    a returned element trace details object
Interface
ITRIGMLELEMENT
Prototype
   int ITRIGMLELEMENT_GetTraceDetails(ITrigmlElement* node,
                                      ITrigmlElementTraceDetails** ppDetails);
Return
   A BREW error code.
   Note that this method will always fail if the trig containing the TrigML
   definition of the element was not built in debug mode, or if the element did
   not originate from TrigML (e.g. it was created by an actor).
Side Effect
None
Comment
Provided that the trig that contains the element's XML definition was build in debug mode, this method will creates and returns an ITrigmlElementTraceDetails object that provides debugging information about the element. You can use the information provided by this object in calls to ITRIGMLDEBUG_Trace().
The caller should release their reference to the trace details when finished.
  • Follow