MobDebug icon indicating copy to clipboard operation
MobDebug copied to clipboard

Raw bytecode debugging

Open SoniEx2 opened this issue 6 years ago • 4 comments
trafficstars

Would it be possible to debug raw bytecode with string.dump and a count hook?

SoniEx2 avatar Aug 13 '19 12:08 SoniEx2

@SoniEx2, somebody would have to try that, but there wouldn't be anything to step through, as you'd still need the source code to work with in the debugger, right?

pkulchenko avatar Aug 13 '19 16:08 pkulchenko

you can step through instructions.

SoniEx2 avatar Aug 13 '19 17:08 SoniEx2

I'm not sure how feasible it is to have luac -l -l as part of the debugger. but it'd be kinda nice imo.

SoniEx2 avatar Aug 13 '19 17:08 SoniEx2

I agree, this sounds like an interesting idea, which should be quite doable using the source map support in mobdebug, but not something I have short term plans for.

pkulchenko avatar Aug 13 '19 18:08 pkulchenko