[Development] QJSEngine debuging

Richard Moore rich at kde.org
Sun Nov 18 12:54:25 CET 2012


On 18 November 2012 11:44, Michal Dorner <dorner.michal at gmail.com> wrote:
> I wonder if it's possible to get v8 handle from QJSEngine instance and
> enable debuging using v8 api.
> Goal is to provide debuging with greakpoints and steps using Eclipse plugin
> or something like node-inspector in Node.js
>
> Could someone pleas tell me if it's this possbile? Thanks.

There's a handle() method in QJSEngine that returns the private
QV8Engine class. This means if you use the private APIs then you can
get at the internals (though note that the private APIs may change at
any time).

Cheeers

Rich.



More information about the Development mailing list