Page 1 of 1
Forb Feature Request
Posted: 27 Jun 2008, 11:09
by Forboding Angel
THanks for the warning... I imagine that this is prolly a good idea, however, would you set infolog.txt to give more useful errors?
on gadgets the errors are ambiguous 99% of the time. Widgets aren't a whole lot better, but at least they spam the hell out of the console before spring goes tits up.
Re: Forb Feature Request
Posted: 27 Jun 2008, 15:31
by trepan
examples? (errors & associated sources)
Re: Forb Feature Request
Posted: 27 Jun 2008, 19:33
by Forboding Angel
If a gadget bites the dust in svn all I get is "Badstd:alloc". It's possible that this could be due to the changes to lua from 76b1 --> Svn, but it would be infinitely more helpful if the infolog or somehting showed what gadget/widget caused the crash and where it was in the script when it went tits up.
Widgets as a general rule are fine because they spam the console/infolog before dying, but gadgets are relatively silent in this manner.
Re: Forb Feature Request
Posted: 27 Jun 2008, 20:19
by Argh
Um, what about the Scream thingie? Is that what that's for, or is it for something else? I do all of my debugging with simple echoes in my functions, so that I can trace it and report values as it runs, myself, so anything that might make debugging less of a chore would be cool.
Re: Forb Feature Request
Posted: 27 Jun 2008, 20:22
by FLOZi
Forboding Angel wrote:If a gadget bites the dust in svn all I get is "Badstd:alloc". It's possible that this could be due to the changes to lua from 76b1 --> Svn, but it would be infinitely more helpful if the infolog or somehting showed what gadget/widget caused the crash and where it was in the script when it went tits up.
Widgets as a general rule are fine because they spam the console/infolog before dying, but gadgets are relatively silent in this manner.
If a gadget dies properly it will give error messages exactly the same as a widget.
bad std::alloc is a differen't problem altogether.
Re: Forb Feature Request
Posted: 28 Jun 2008, 10:06
by Forboding Angel
Fair enough. As I'm not a lua guy there isn't much of a way that I can refute anything said here.
Re: Forb Feature Request
Posted: 28 Jun 2008, 17:03
by imbaczek
no reproduce'y= no fixy; see also: trepan's post.