Mail Archives: djgpp-workers/1996/12/22/02:17:54
On Thu, 19 Dec 1996, Salvador Eduardo Tropea (SET) wrote:
> There another problem: What happends if the debugee uses your own
> descriptor for the screen? you can't avoid that easily.
This consideration is valid, but not necessarily a fatal problem. I could
argue that a debugger doesn't need to support any trick a programmer can
devise. If people want to get debugging support, they could try a little
harder and not use techniques which make debugging hard. Alternatively,
if they cannot do things in a compatible way, they will have to live
without automatic display switching.
FYI, there already are quite a few things which don't work in a debugged
program (like signals). Is it so bad to tell people that if they use one
of the incompatible techniques, they will have to manually press a key
which switches between debugger and user display? I don't think so.
And FWIW, I find the automatic switching in the Turbo Debugger to be more
of a nuisance than a feature. The cases where it wedged my machine far
outnumber the advantage of not having to press Alt-F5. So I usually
disable it.
- Raw text -