Attempting to Edit ADL Workbench Options (clicking on Edit File button) hangs ADL Workbench

Description

This happens in v2.0.6.2926 and v2.0.6.2931. Open ADL Workbench Options... click "Edit File". The ADL Workbench hangs. No error. I have to kill the app.

Environment

Window 7 64bit

Activity

Show:
Thomas Beale
August 10, 2017, 3:41 PM

Patrick can you try clearing the text editor field, and then restart and see what happens when you try to edit (maybe restart is not required, I don't remember).

Patrick Langford
August 10, 2017, 4:37 PM

I cleared the field... clicked on another tab... then back to make sure it was still clear... then clicked OK. Restarted the app. It's now reset itself to what it had before. App still hangs when I click the Edit button. In Taskmanager the app is listed as Not Responding.

This time I'm watching in TaskManager while I do this... and I notice an instance of notepad.exe starts up... but it never comes to the foreground... and I don't have a way to switch to it. However, if I kill the notepad.exe process the Options dialog goes away and AWB is responding again.

Thomas Beale
August 10, 2017, 5:43 PM

Ok... it may be to do with the way I'm handling processes. When the editor starts, it is in a separate process, and AWB is waiting for hte user to exit the editor. But if the editor never shows up, it looks like AWB has hung. I'd guess it is another Win 10 anomaly. I'm going to ask the Eiffel group if anyone knows the problem. There is also a new process handling library which I might convert to. This will take me a few days. In the meantime, you are probably stuck with navigating to the location of the config file and editing manually. Or you might also try entering a different command line into the options dialog, e.g. to start a different editor.

Patrick Langford
August 10, 2017, 9:52 PM

I noticed this happens in any of the dialogs. AOM profiles Edit does the same thing. Edit under XML works fine.

Thomas Beale
August 11, 2017, 11:43 AM

Found the problem. The process launcher lib I use has changed in the most recent release of the Eiffel dev tools. There was a 'hide' setting being set on synchronous processes that now needs to be unset. Editing various files now works fine as it used to.

Reporter

Patrick Langford

Labels

None

Components

Affects versions

Priority

Major
Configure