snarez/calculon — pull request #34 by richo (2014-03-29 04:10:18+00:00)
Title: Voltron watch hooks

It finally works!

There's a couple of rough edges/gotchas:

* Sometimes you get `Warning: 'value'`. This happens at the same time as:
```
(lldb) stepi
error: failed to get API lock
```

I think it's an lldb quirk. It seems ok if you don't have too many watches that are poking at voltron.

* Watching strings crashes everything. It's not directly related to this patch but it's waaay easier to trigger now. I'll probably get a new PR in today once I work out how to best workaround that.

* There's something truly horrific going on inside the voltron proxy's wire format. I *think* that it's basically two messages back to back which get pulled into a single buffer by `recv` and then confuses pickle. tl;dr it hangs the repl forever, using a second socket to pull in the stop hooks firing in voltron makes the bug go away. At some point I'll work it out.

Anyway. Let me know what you think. Or cowboy merge it. Or whatever.