What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [!!Very Helpfull Request!!]

1 votes - 4 average   [!!Very Helpfull Request!!]
Author: Message:
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. [!!Very Helpfull Request!!]
Everyone have encountered some error codes when using the script debugger. my idea: a special plugin like debugger, that shows the error code like the standart does, but also shows examples of solutions. like when '(' is missing, the debugger shows the same but with '(' in the code. hope you understand this, i haet bieng nto egnlihs.

P.S.: sorry if a thread like this already excists, cuz i havent seen one yet.

This post was edited on 10-07-2006 at 07:26 AM by DennisMartijn.
10-07-2006 07:25 AM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [!!Very Helpfull Request!!]
The errors in the Debug window are pretty easy to understand as it gives you the line number and a brief description. I'm *kinda* working on a script that may be able to find the error number and give a better description. 

On a slightly different note, it would be good if messages could be shown in different colours. Either able to be defined by the user or black for events, green for traces and red for errors or something. It would make the window so much easier to read :p
<Eljay> "Problems encountered: shit blew up" :zippy:
10-07-2006 05:51 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [!!Very Helpfull Request!!]
quote:
Originally posted by DennisMartijn
Everyone have encountered some error codes when using the script debugger. my idea: a special plugin like debugger, that shows the error code like the standart does, but also shows examples of solutions. like when '(' is missing, the debugger shows the same but with '(' in the code. hope you understand this, i haet bieng nto egnlihs.
Although such a thing would be nice at first sight, it is also nearly impossible and actually not so nice if you think about it*.

Same errors can be produced in all kinds of different situations and thus 'a' solution will never be 'the' solution.

Even in the case of such a simple thing as a missing parenthesis, the given solution might be waaay off from the true fix.


* You could think it would be nice for beginning programmers.

But actually since the solutions would be in many cases wrong anyways, beginning programmers would be even more confussed, teached the wrong thing, etc...

* For more experienced programmers, the solutions given would be useless as they would know what to fix.



quote:
Originally posted by SpunkyLoveMuff
On a slightly different note, it would be good if messages could be shown in different colours. Either able to be defined by the user or black for events, green for traces and red for errors or something. It would make the window so much easier to read :p
You can alter the lines in the translation files yourself to make a distinction between them.

(in fact, in the Dutch translation, a nice prefix (same prefix for all though) is given to all Plus!-produced debugging messages so you can easly see if the line is added by Plus! or by a Debug.Trace() command)

This post was edited on 10-08-2006 at 12:29 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-08-2006 12:26 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [!!Very Helpfull Request!!]
quote:
Originally posted by CookieRevised
You can alter the lines in the translation files yourself to make a distinction between them.

Great idea. Maybe a future version will support colours though? :p

EDIT: btw, I use this custom function now in my scripts
code:
function trace(message){
    Debug.Trace("OUTPUT - "+message)
}


Makes my messages stand out a bit better

This post was edited on 10-08-2006 at 02:11 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
10-08-2006 02:04 PM
Profile PM Find Quote Report
MoonGoose
Junior Member
**

Avatar

Posts: 16
– / Male / –
Joined: Oct 2006
RE: [!!Very Helpfull Request!!]
Plz, help me, were can i find a debugger program???
10-21-2006 07:00 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [!!Very Helpfull Request!!]
The debugger is included when you install Messenger Plus! Live

On the contact list:
> Click "Plus!" (in the menu bar)
> Click Show Script Debugging

In Preferences:
> Goto "Scripts"
> Click "Enable Debugging Options"
<Eljay> "Problems encountered: shit blew up" :zippy:
10-21-2006 07:05 PM
Profile PM Find Quote Report
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. RE: RE: [!!Very Helpfull Request!!]
quote:
Originally posted by SpunkyLoveMuff
The errors in the Debug window are pretty easy to understand as it gives you the line number and a brief description. I'm *kinda* working on a script that may be able to find the error number and give a better description. 

On a slightly different note, it would be good if messages could be shown in different colours. Either able to be defined by the user or black for events, green for traces and red for errors or something. It would make the window so much easier to read :p


that would be very usefull:D

but... the debugger doest give error codes for nothing. there has to be a database of the codes, with 'a description/a code for when the error occures'.

is there someone who knows where to find this database?
10-25-2006 07:54 AM
Profile E-Mail PM Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: [!!Very Helpfull Request!!]
Usually if you just search google for "JScript" followed by the error code, it'll tell you more about the error.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
10-25-2006 11:30 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On