![]() | |
#21
| |||
| |||
|
|
"mwright" wrote: I'm hoping for a MUCH better error msg next time!!!! :^) Glad the issue was resolved, Mark. I have discussions with developers all the time about this sort of thing. The fire is out and the trucks have left the scene, but the same sort of fire could occur anywhere. Most developers are interested in putting out the fire and getting on to the next problem, rather than solving the real problem. No error message, no problem, right? No, find out what allowed someone to walk into a cryptic error and don't allow the code to do that. I frequently petition my vendors to get their software to recognize when something simple has gone wrong, and to provide an appropriate error message so that we can get through diagnostics quickly and get on with our work. For example, don't give us a core dump; recognize that the return value of that last call was a negative number and display an error message, rather than continuing on into code that can't handle that value. There's also the "techno error" that developers tend to display when something in English would be just as appropriate: "KQR89.Z: obj unassgd" makes no sense, where "Value Name cannot be null" makes much more sense. I'll pay 2 cents for the extra vowel but I'd much prefer a real message. And since we're here, I know some people are hesitent to display any sort of error at all. QM provides a flag to disable warnings and Caché doesn't display "var unassigned" errors at all. C'mon folks, when there's a problem we need to know about it! |
#22
| |||
| |||
|
|
"mwright" wrote: I'm hoping for a MUCH better error msg next time!!!! :^) For this br.store.rtn issue, I think it would be difficult to solve the root problem because the code was being asked to do something unusual. In other places in D3 and other products, however, the software can easily recognize invalid conditions and report them way before they get down this low and cause the process to fall to debug or a monitor halt. |
#23
| |||
| |||
|
|
"Tony Gravagno" wrote "mwright" wrote: I'm hoping for a MUCH better error msg next time!!!! :^) For this br.store.rtn issue, I think it would be difficult to solve the root problem because the code was being asked to do something unusual. In other places in D3 and other products, however, the software can easily recognize invalid conditions and report them way before they get down this low and cause the process to fall to debug or a monitor halt. What "unusual" problem might that be? A doubly-declared variable (if I read the comment correctly: "The same one's that were trying to be declared LATER via READV's!!!!")? Or is it an opened File variable being reassigned? In either event, aborting is a funny way to resolve it Chandru |
#24
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |