开发者

StatET debugging tool

I think I'm just being dense, but I can't seem to figure out how to use the debugging tool while working in R in Eclip开发者_如何学Gose (StatET plugin). Has anyone got any tips or tutorials on the subject?


StatET 2.00+ now has experimental support for advanced/visual debugging. It requires Eclipse 3.6 or 3.7

Installation instructions are here

You can see a snippet of video from UseR! 2011 here

EDIT: StatET 2.0.0 released or later includes the integrated debugger and is available here


The debug framework in Eclipse is not setup to work with R.

Roman Francois had considered having someone code up an integrated debugger that could possibly integrate with Eclipse/Stat-et, but I'm not sure that project progressed.

http://www.r-project.org/soc09/ideas.html#p5

The only "traditional" debugger that I know of that works with R is Revolution's IDE,

http://blog.revolutionanalytics.com/2009/11/rpe-the-r-productivity-environment-for-windows.html

That said, I would love to have a debugger for the Stat-et plugin too.


using StatET 3.3:

  1. Start RConsole as debug (while beeing in the StatET perspective)

    StatET debugging tool

  2. Add breakpoints (by double clicking left to the line) and use Run Entire Command in R in the first line of a function definition:

    StatET debugging tool

  3. Run the function. Execution will Break at the Breakpoint and you can inspect local variables by just hovering:

    StatET debugging tool


Very useful, but the bugs? that it doesn't work with source() and that jump into doesn't work are very annoying as well. Perhaps an earlier version works better.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜