Charm: throwback problem
David Gee (1833) 268 posts |
If I set Charm’s error behaviour to “throwback”, and an error is encountered, a “Throwback” button appear in the error window besides the usual “Edit” one. However, if I click on it, I get an error dialog “the application has gone wrong”.and when I click on details I get: SWI &42587 not known Happens with either StrongEd orZap. The editor is running st the time. |
Steve Pampling (1551) 8172 posts |
Ah, been caught by that. That’s a SWI in the DDEUtils module. Any application wabting use that kind of throwback would need the DDEUtils so it might be useful to pop it into an obey file in !Boot.Choices.Boot.Tasks (or similar) instead. Edit: Thinking about it, would it be more useful for users as a system default to have it loaded? |
nemo (145) 2556 posts |
Since the vast majority of SWIs are publicly documented, it’s a great pity that the error isn’t
A very simple and small module could do that, and its database wouldn’t need updating often. |
WPB (1391) 352 posts |
I couldn’t agree more (with nemo) – and since the SWI allocations lie with ROOL, it would make sense for the module to be part of the build process and draw from all the publicly documented SWI bases. If ROOL could make the format of the allocations database public knowledge, someone could write this module without having to have access to the potentially commercially sensitive information itself (cough!)… |
nemo (145) 2556 posts |
I wrote a module that converted error reports into Haiku long ago. Here’s a bit of its Messages file: 100A9:Three things are certain:/Death, taxes, and the Bad Map./Guess which has occurred. A gentler time. ;-) ‘HaikuError’ was about 1K. ‘SWIError’ would be even less. |
Rick Murray (539) 13850 posts |
[Like] You ought to put up some of your various modules/utilities on a website someplace! |
Steve Pampling (1551) 8172 posts |
The wife is not into computer stuff and claims to have a personal IT consultant to sort such things. As Rick says your modules and utilities deserve a more public showing. That module especially. |
nemo (145) 2556 posts |
I am absolutely working on it. Time is the enemy. Try this: http://goo.gl/NCNzM |
Steve Revill (20) 1361 posts |
Having just stumbled across this thread, I like the idea of mapping unknown SWI errors onto a name string. I suspect something could hang off the TrapError module to achieve this. Of course, it could be just as easy to write something specific – but maybe the TrapError sources would serve as a reference. |