[Date Index] [Thread Index] [Author Index]
Re: how to debug existing notebook in workbench?
Hi, you have your project inside the Workbench. Click on "debug" and the Workbench will start a new debug session for you which includes that it opens a Mathematica and an empty notebook for you. Inside this Mathematica debug session you should be able to open any notebook and if you have set breakpoints inside the Workbench code, then a call from any notebook inside this debug session should stop at the breakpoint. Cheers Patrick On Dec 16, 2010, at 11:49 AM, Nasser M. Abbasi wrote: > 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 >