-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Current Behavior
Inconsistently, errors happening inside CATCH error handling will not be displayed (even though CATCH,/cancel has been issued)
Expected Behavior
Errors should be reported correctly even after a CATCH has triggered
GitHub Repo
No response
Steps to Reproduce
- Compile and run the following program with the debugger:
PRO test_crash
catch, err
IF err NE 0 THEN BEGIN
catch, /cancel
print, "Error in test_crash: " + err.tostring()
help, /not_a_keyword
END
a = b
END
- The output is (inconsistently):
.compile -v '/mn/sertan/u1/steinhh/sf/idl/test_spice_fits.pro'
% Compiled module: TEST_CRASH.
> test_crash
Error in test_crash: -181
> test_crash
Error in test_crash: -181
> test_crash
Error in test_crash: -181
% Keyword NOT_A_KEYWORD not allowed in call to: HELP
% Execution halted at: TEST_CRASH 6
/mn/sertan/u1/steinhh/sf/idl/test_spice_fits.pro
% TEST_CRASH 6
/mn/sertan/u1/steinhh/sf/idl/test_spice_fits.pro
% TEST_CRASH 6
/mn/sertan/u1/steinhh/sf/idl/test_spice_fits.pro
% $MAIN$
> test_crash
Error in test_crash: -181
... etc
Failure Logs
?from where?Operating System
- macOS (Intel x86_64)
- macOS (ARM64)
- Linux
- Windows
IDL Version
9.2.0
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working