Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

how to debug existing notebook in workbench?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114765] how to debug existing notebook in workbench?
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Thu, 16 Dec 2010 05:49:33 -0500 (EST)
  • Reply-to: nma at 12000.org

Hello;

I am learning workbench. It is a little confusing to use for me
since it is not integrated with Mathematica itself, but here is
my question:

THe way I understand it so far, one creates a project, then there
appear 2 files   A.m and A.nb.

One writes the function to debug in A.m, and then in A.nb, makes
a call to the function. Then debugger jumps to A.m and one can
step into the function.

This works ok so far.

But how do I debug an existing notebook? This is the part
which I can't figure out.

Suppose I have a notebook in  ~/home/c.nb, and it in, there
in many functions, and a cell which calls these functions.

How do I tell workbench to open c.nb to debug and allow me
to put a break point there?

And yes, I did view the movies at WRI on workbench, but
they never seem to describe this part.

ps. Any plans to have debugger be integrated inside mathematica
itself so one does not need to start a new application to debug
code?

thanks
--Nasser


  • Prev by Date: Help with Loop to Rule Based Algorithm
  • Next by Date: Re: Getting the code of a glyph
  • Previous by thread: Re: Help with Loop to Rule Based Algorithm
  • Next by thread: Re: how to debug existing notebook in workbench?