Overview
| Artifact ID: | a804666681175bb232c5ce0d8a2277e556d14230 |
|---|---|
| Ticket: | 760947ffffffffffffffffffffffffffffffffff
trace on command leave changes errorInfo/errorCode |
| User & Date: | vincentdarley on 2003-07-18 17:33:15 |
Changes
- icomment:
Logged In: YES user_id=32170 Well, the manpage states (for 'leave' and 'leavestep' traces): "If an error occurs while executing the command body, then the command name as a whole will return that same error." The result above does look a little peculiar, although I don't really know enough about error(Code|Info) to be sure what the correct result should be. In some sense if there's a leave trace on 'foo', then the result ought to be nearly identical to that obtained by manually replacing every occurrence of 'foo' in one's code by 'foo ; tracecmd foo ...'. (Obviously this is complicated by additional arguments, and by the cases where foo throws an error itself).
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"