1. WEE gets files mixed up

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

WEE
new topic     » topic index » view message » categorize

2. Re: WEE gets files mixed up

Thanks David.

Quick fix: in WEE.EXW, global procedure check_externally_modified_tabs(), change:

ui_select_tab(i) 

to:

select_tab(i) 

I hope you didn't lose anything. Did I mention there's no warranty? blink

new topic     » goto parent     » topic index » view message » categorize

3. Re: WEE gets files mixed up

Thanks! No data loss, I just closed the tabs that were obviously wrong and reloaded.

I'm treating this as alpha software. Really useful alpha software. smile

I'm just happy I was able to find a way to duplicate the bug so you could track it down.

- David

new topic     » goto parent     » topic index » view message » categorize

4. Re: WEE gets files mixed up

Yep, that solved it!

Thanks again!

- David

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu