MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Debugger

  • To: mathgroup at
  • Subject: [mg87897] Re: Debugger
  • From: ragfield <ragfield at>
  • Date: Sat, 19 Apr 2008 03:37:58 -0400 (EDT)
  • References: <fu9fts$ceg$>

On Apr 18, 1:43 am, PaulB <pbee... at> wrote:
> Sorry for the newbie post but I wanted to get started with the debugger in=

> Mathematica 6.0 and I can't seem to find any documentation other than the
> simple description of the buttons.  On a Mac (OSX dual core machine) I c=
> seem to get the interactive debugger to work.  Can anyone point me towar=
d some
> documentation examples or HOWTO simple examples to get me started.

Here's a brief example:

The most common gotcha to the Mathematica debugger is that it only
works for code which has been evaluated *after* the debugger has been
enabled.  You can evaluate a function, turn on the debugger, then
debug code which uses that function.  You must first turn on the
debugger, then evaluate all function definitions you wish to debug,
then you can set working breakpoints and step through code.


  • Prev by Date: Re: Defining derivatives
  • Next by Date: Re: Directory of Mathematica Add-Ons
  • Previous by thread: Debugger
  • Next by thread: Product command with matrices