[gem][alpha] TraceSpy - TracePoint + Pattern Matching API

Brandon Weaver <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CAH7vphS7kh2-zm_d7M=9KDy85GNt6110DXWQ0oOp=FPxSpiODA@mail.gmail.com>
https://github.com/baweaver/trace_spy

Made a wrapper around TracePoint after playing with it for a while to make
it a bit easier to watch all types of different things. It's based on top
of Qo <https://github.com/baweaver/qo> to allow you to do things like:

   - Intercept when an argument is nil
   - Intercept when an argument is within a certain range
   - Intercept when a local variable is assigned to a certain value

...and a lot more, I'm just starting to discover some of the things that
can be done with this.
The API is a work in progress, and I'll likely be extending it more in the
future as I understand TracePoint more.

Enjoy!
- @baweaver


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.