Better warning messages.

Suggest changes and improvements to Algodoo.

Better warning messages.

Postby savask » Sun Nov 22, 2009 6:06 pm

Sometimes, warning messages are confusing and don't help in debugging. That's why I suggest to make warnings more helpful. For example: "Error: 208 - Dividing by zero".
And it will be very good, if we can have warnings in the language file, so people can read errors in their native language.
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Better warning messages.

Postby KarateBrot » Sun Nov 22, 2009 6:09 pm

i don't support because if you shorten the error message so much the programmers don't know why this error is caused. if you just read everything completely you will recognize there is a short message in the error that says what's wrong.

already recognized?
Division by Zero.jpg
Division by Zero.jpg (27.29 KiB) Viewed 1300 times
Last edited by KarateBrot on Sun Nov 22, 2009 6:16 pm, edited 1 time in total.
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Better warning messages.

Postby savask » Sun Nov 22, 2009 6:13 pm

It was an example. We can have big book of the errors in wiki, where will be solutions for the problem. And c:/emilk/... is confusing for me.
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Better warning messages.

Postby KarateBrot » Sun Nov 22, 2009 6:17 pm

yeah a wiki entry for error messages would be cool
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Better warning messages.

Postby savask » Sun Nov 22, 2009 6:18 pm

But what does c:/emilk/... mean?
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Better warning messages.

Postby KarateBrot » Sun Nov 22, 2009 6:22 pm

i dunno. i often just ignore this. it could be an adress to the correct location in the programming code that shows where the error accured
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Better warning messages.

Postby savask » Sun Nov 22, 2009 6:24 pm

Ok, thank's for help :)
As I understand, this is a fail idea...
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Better warning messages.

Postby KarateBrot » Sun Nov 22, 2009 8:30 pm

yeah but the wiki page is a cool idea :thumbup:
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Better warning messages.

Postby savask » Mon Nov 23, 2009 6:10 am

Thank's! :P
I also think, that wiki shouldn't contain only lessons, it can have tutorials page or physics formulas. Old wiki was better in this way.
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Better warning messages.

Postby Mystery » Mon Nov 23, 2009 1:00 pm

C;/emilk/phun Blah. Correct me if I'm wrong but that's the structure of the coding and what part of the structure is giving the message.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Better warning messages.

Postby savask » Mon Nov 23, 2009 1:16 pm

I can't understand your idea :(
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests