API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ITRIGMLELEMENT_GETTRACEDETAILS()

Brew Release
Brew MP 1.0.2
See Also
ITRIGMLDEBUG_Trace()
Description
Extracts tracing details from an element into the given debug structures.
Params
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
Comments
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.