Mathematica 9 is now available
Previous section-----Next section

Trace

SetOptions[$DebugObject, opts...]set debug options of Parallel Computing Toolkit
Options[$DebugObject]gives the current debug option settings
Trace→{tracers...}set trace events
TraceHandler→handlerspecify how trace events should be handled; possible values include Print and Save
TraceList[]gives the current list of trace events
newTraceList[]initializes the trace list

Debugging functions.

OptionValues[Trace]gives the list of possible tracers
MathLinktrace MathLink events
SendReceivetrace Send/Receive operations
Queueingtrace process scheduling (Queue/Wait)
SharedMemorytrace shared variable access (available only if the VirtualShared package has been loaded)

Tracers.

Tracing Events

To see certain events, specify the desired class of events in SetOptions[$DebugObject,Trace→{tracers...}]. From then on everytime one of the selected events occurs, a message is printed.
In[3]:=
Out[3]=
ParallelEvalute uses Send and Receive internally, so you can see how the computation is divided into parts that are sent to remote kernels.
In[4]:=
Out[4]=
To turn off tracing, specify the empty list as tracers.
In[5]:=
Out[5]=


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.