* Reworked the design: It certainly doesn't make sense to display more than

one alert, when two threads of a team crash. Now we have a per team queue
  of debug messages and a thread per team that processes them (that is
  usually only the first one). The application class does nothing anymore.
* Implemented debugger handover:
  - In case of normal apps, when the relevant servers needed for GUI are
    running, we show an alert and, if requested, start a MiniTerminal with
    gdb for the crashed team. I couldn't really test it, since alerts don't
    seem to work, respectively crash the app server (usually both ;-).
  - In case the app server crashes, we always start a consoled with gdb.
    This does indeed seem to work.
  A gdb attached to a team is not really useful yet, since the shared object
  relocations seem to be incorrect, so "bt" is not giving any useful info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13684 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-07-15 12:29:53 +00:00
parent 7f9c673981
commit c9ce15c94a
2 changed files with 604 additions and 323 deletions
File diff suppressed because it is too large Load Diff
+2
View File
@@ -1,7 +1,9 @@
SubDir OBOS_TOP src servers debug ;
UsePrivateHeaders app ;
UsePrivateHeaders debug ;
UsePrivateHeaders kernel ;
UsePrivateHeaders shared ;
AddResources debug_server : debug_server.rdef ;