Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

J2V8 and Stetho [closed]

I have an Android app using J2V8 and want to use Stetho to create a debug bridge I can use in Chrome dev tools.

Is there any documentation on how to connect Stetho to the V8 runtime I'm using ?

like image 641
Avi Brenner Avatar asked Nov 09 '22 00:11

Avi Brenner


1 Answers

If the question is still relevant - I have created j2v8-debugger library.

It allows debugging J2V8 using Chrome DevTools.

Basic features like setting/removing breakpoints, step into, step out and step over, variables inspection, etc. are implemented.

It uses Stetho lib for communication with Chrome DevTools.

Also it's uses DebugHandler for accessing V8 debug information.

Hope it could be helpful.

like image 93
Alex Avatar answered Nov 15 '22 08:11

Alex