Guerilla Scripting - view script errors Topic is solved

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

pmuser2
Hobby Astronomer
Hobby Astronomer
Posts: 26
Joined: 2018-02-09, 04:35

Guerilla Scripting - view script errors

Unread post by pmuser2 » 2018-02-10, 17:49

When an error arises in userscript and it isn't executed further I don't see anything in console.
Is there a way to view error message?

Fedor2

Re: Guerilla Scripting - view script errors

Unread post by Fedor2 » 2018-02-10, 18:31

As i know there is no error massages, it fails silently.
You can manually put messages throughout the code, like "passed this line with variable that...."

User avatar
ketmar
Lunatic
Lunatic
Posts: 369
Joined: 2015-07-28, 11:10
Location: Earth

Re: Guerilla Scripting - view script errors

Unread post by ketmar » 2018-02-11, 04:33

all script errors are reported to Error Console. note that it is not the same as Web Console: they are two different things.

pmuser2
Hobby Astronomer
Hobby Astronomer
Posts: 26
Joined: 2018-02-09, 04:35

Re: Guerilla Scripting - view script errors

Unread post by pmuser2 » 2018-02-11, 06:24

Great! Thank you!
Userscript activity is also logged in Browser Console which is also not Web Console. Didn't know about both of them before.

Locked