[haiku-commits] Re: haiku: hrev47421 - src/apps/debugger/user_interface/gui/team_window

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 25 Jun 2014 20:22:19 +0200

On 24.06.2014 23:39, anevilyak@xxxxxxxxx wrote:
2661ce4: Debugger: Implement #10970.

   - If a source file cannot be found, and the user clicks the item to locate 
it,
     Debugger now attempts to query all volumes for the corresponding filename.
     If any are found, they are presented in a menu, along with an option to
     locate the file manually as before (since the file may potentially live on
     an unindexed volume). If no matches are found via query, we fall through to
     the file panel directly as before.

Unfortunately the query is performed in the window thread which is not acceptable. The request probably doesn't need to be passed back to the TeamDebugger, but it should at least happen in a separate thread. It might also be a good idea to start the query already as soon as we notice that we don't know where to find the source file, so that we already have the result when the user clicks the view.

CU, Ingo


Other related posts: