WEE gets files mixed up
- Posted by dcuny Jan 28, 2015
- 1778 views
I've got a use case where WEE displays the wrong file in a tab. Here's how it can be reproduced:
- Open WEE and save the following file as buggy.exw:
include std\error.e crash("Bogus", {})
- Press F5 to run the program. It will crash, and display a trace.
- Press Enter to close the console window.
- WEE opens a Goto Error dialog offering to open error.e. Choose "Yes".
- WEE opens error.e, and displays the error "Bogus" in a Goto Error dialog . Choose "OK" to dismiss the dialog.
- Now two files are open: buggy.exw and error.e.
- Open ex.err (to see the actual error), so now three files are open: main.exw, error.e and ex.err.
- Go to buggy.exw, and press F5 to run it again. It will crash, displaying a trace.
- Press Enter to close the console window.
- WEE will display the message "Bogus" in the Goto Error dialog. Choose "OK" to dismiss the dialog.
- WEE notices that ex.err has changed, and offers to reload it. Choose "Yes".
- Click the tab for error.e. Note the contents are actually those for ex.err.
Thanks!
- David