[interfacekit] Re: A patch for BString

Oliver Tappe <openbeos@xxxxxxxxxxxxxxx> wrote:
> Out of curiosity, I have fiddled a bit with the stuff in <debugger.h>
>  and it 
> seems that you can install a debugger inside your own team, all you 
> need is a 
> new thread.
> 
> Enclosed you find a proof-of-concept.

Nice :)

> There is one problem, though: if the application crashes (e.g. seg-
> faults) 
> the dummy-debugger gets invoked, too. 
> My implementation in that case notices that is has been called for 
> the wrong 
> reason and tries to fall back to the default debugger, but that 
> doesn't seem 
> to work from inside the debugger: nothing happens.
> 
> So we should probably go with Ingo's solution as it seems more 
> reliable, but 
> it may be worthwile to invest some more time into the debugger-stuff. 
> 
> BTW: Is anyone working on something like bdb for OBOS (or should the 
> original 
> just run fine)?

That's still undecided - if we can recreate the API without having good 
docs, then it should be possible to do that. But right now, we don't 
have any userland debugger support in OpenBeOS.
That part was neglected a bit, since it's not crucial for the kernel to 
work...

I would love to have a decent debugger on OpenBeOS, but I also think it 
should be better than bdb - even if that one works really well most of 
the time, especially the updated one from BeBits.

Bye,
   Axel.


Other related posts: