[ESS] debugging, mostly tracebug

Rmh rmh at temple.edu
Sat Apr 6 02:11:55 CEST 2013


develooer snd tracebug are fully coordinated and Vitalie put both on together.

but i also haven't seen the highlighted source for some months now

rich


Sent from my iPhone

On Apr 5, 2013, at 19:57, Ross Boylan <ross at biostat.ucsf.edu> wrote:

> On 4/4/2013 6:33 PM, Richard M. Heiberger wrote:
>> tracebug and developer mode are fantastic additions to ESS.
>> 
>> And yes, you can work inside a namespace.
>> C-c C-t C-a mypackagename
>> runs the command ess-developer-add-package
>> 
>> This lets you put the revised function inside the namespace.
>> 
>> My working pattern is to put the breakpoint in the function just before the current
>> problematical statement and then single-line C-c C-n from there.  I can experiment inside
>> a function until I am happy enough to enter Q
>> and then C-c C-c the next revision of the function, with the breakpoint (if any) somewhere else.
>> 
>> Rich
> I tried ess-developer-add-package, and it seemed to work with one glitch.  The glitch is that when the breakpoint came I got the browser() in the *R* window, but there didn't seem to be the highlighted window with the current code and line.  The unhighlighted version of the window was open and available.
> 
> So maybe developer steps on tracebug a little bit.
> 
> Eventually the tracebug version of the window came back; I can't remember exactly what steps I took to do that.
> 
> Ross



More information about the ESS-help mailing list