开发者

Great Ruby tracing gem? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

开发者_Python百科 Improve this question

Read about this one:

http://unroller.rubyforge.org/

http://github.com/TylerRick/unroller

Look at the pictures!

Unfortunately, it's very outdated and not actively maintained.

I wonder, are there any other tools similar to this one that can show me what code was just executed, in what file, what the output was and what the return value was?

Would be so much better than tracing everything manually between the Terminal and a bunch of Ruby files!


not as nice as unroller, there is tracer

http://en.wikibooks.org/wiki/Ruby_Programming/Standard_Library/Tracer

and my backtracer gem I believe has a "--tracer" option

http://github.com/rdp/backtracer That's about it though.


In case you don't need diving that deep into your code, as mentioned gems do, consider using Cutter gem, I've created to quickly inspect the internals of any given method.

For me it covers the most of the situations when I need to know what's going on in a particular piece of code.

https://rubygems.org/gems/cutter and https://github.com/stanislaw/cutter

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜