Finally integrates running_teams_window stuff to the Debugger app:

* Rework Debugger class a bit to ease integration
* Expand TeamDebugger::Listener interface to notify start event too.
* Former RunningTeamsWindow, now name TeamsWindow, is shown at start
  if no team/program to launch is specified.
* Double-clicking a team item in this list starts a new Team debugger, or
  reactivate the existing one if any

This window settings is not yet integrated with the SettingsManager.
Will comes next.
I plan to add some UI controls to this Teams window to allow user to setup
a program arguments and environment variables and then launch & debug it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38758 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-09-21 15:07:48 +00:00
parent ebd866299d
commit ccb01bef44
18 changed files with 891 additions and 1466 deletions
+10 -1
View File
@@ -362,7 +362,7 @@ TeamDebugger::Init(team_id teamID, thread_id threadID, bool stopInMain)
return error;
}
fUserInterface->Show();
Activate();
// if requested, stop the given thread
if (threadID >= 0) {
@@ -380,10 +380,19 @@ TeamDebugger::Init(team_id teamID, thread_id threadID, bool stopInMain)
}
}
fListener->TeamDebuggerStarted(this);
return B_OK;
}
void
TeamDebugger::Activate()
{
fUserInterface->Show();
}
void
TeamDebugger::MessageReceived(BMessage* message)
{