PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Built-in
Mathematica
Symbol
Tracing Evaluation
Tutorials »
|
Trace
See Also »
TraceForward
TraceForward
is an option for
Trace
and related functions which specifies whether to include later expressions on the evaluation chain that contains the pattern
form
sought.
MORE INFORMATION
TraceForward->
True
includes the final expression on the evaluation chain that contains
form
.
TraceForward->
All
includes all expressions after
form
on the evaluation chain that contains
form
.
TraceForward
allows you to see the transformations performed on an expression generated during an evaluation.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
A recursive definition for finding Fibonacci numbers:
In[1]:=
Show only what evaluations of
fib
are encountered:
In[2]:=
Out[2]=
Show only the evaluations of
fib
and the results:
In[3]:=
Out[3]=
Show all intermediate evaluations between calls of
fib
and the result:
In[4]:=
Out[4]=
SEE ALSO
Trace
TUTORIALS
Tracing Evaluation
New in 2
© 2008 Wolfram Research, Inc.