snare / voltron

A hacky debugger UI for hackers
MIT License
6.18k stars 414 forks source link

lldb support seems pretty broken in lldb-300.5.27.3 #17

Closed richo closed 11 years ago

richo commented 11 years ago

So far what I've deduced:

I can get voltron to work if I:

I get a barf in get_registers that crashes lldb if it's run in a hook, but if you run voltron update from the debugger it dumps a stack trace. It looks like GetRegisters is returning an empty set.

tl;dr I'm happy to work on this but missing a bunch of domain knowledge about how lldb's interface works/how voltron is bound to it. If you're free, wanna give me a primer at some point?

richo commented 11 years ago

Some more info, I've been using it all morning, basically doing the voltron update dance by hand.

Since I added a stack viewer, I get this super helpful error out of lldb everytime inferior execution stops:

error: Aborting reading of commands after command #0: 'voltron update' failed with <unknown error>.

snare commented 11 years ago

Fixed with beer/hackathon with richo