Re: gjs debuging
- From: Rui Tiago Cação Matos <tiagomatos gmail com>
- To: Denys Digtiar <duemir gmail com>
- Cc: javascript-list gnome org
- Subject: Re: gjs debuging
- Date: Thu, 11 Apr 2013 09:30:21 +0200
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]