Re: gjs debuging



On 11 April 2013 01:32, Denys Digtiar <duemir gmail com> wrote:
What are other options except writing a bunch of print statements all over
the code?

To get a JS backtrace:

log(new Error().stack);

or just use the current error object if inside a catch block. Not a
debugger but helps quite a bit IME.

Rui


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]