From: BECman Newsgroups: comp.os.msdos.djgpp Subject: Re: Debugging in RHIDE with CWSDPMI Date: Thu, 15 May 1997 11:43:20 +1100 Organization: BEC Manufacturing Pty Ltd Message-ID: <337A5C28.6C56@cynergy.com.au> References: Reply-To: becman AT cynergy DOT com DOT au NNTP-Posting-Host: port-85.cynergy.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Lines: 47 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Salvador Eduardo Tropea (SET) wrote: : : Volker Oth wrote: : : > I had some troubles lately debugging a program using Allegro's : > GUI (installs keyboard_handler and timer) with RHIDE in DOS. : > As I asked Robert Höhne (RHIDE) about this, he said he could : > debug my program in Win95. So I tried it and yes, it worked. : > So there is obviously something different/buggy (?) in : > CWSDPMI compared to Win95's DPMI provider, isn't it ? Hints ? : > Debugging "normal" programs (no hooking of ints etc) works, of : > course. : : I can confirm that, some things fails under CWSDPMI when debuging. : I don't know if the bugs are in CWSDPMI or in the libdbg.a from the : package. I think that it works in Loose95 mainly because the DPMI : server is much more big and includes A LOT of tricks to workaround : bugs in the clients or strange situations. : One very notable example is that libc and CWSDPMI handles very bad : the exit of the programs in low memory conditions. Is very common to : see how the djgpp exe freezes and never goes to DOS. : : > I already had problems with CWSDPMI in conjunction with : > LibHW, hooking the old keyboard interrupt and using the : > german keyboard driver (keyb GR). This also worked in : > Win95, as far a I remember. : : Well here the interaction with the keyboard programm is very : important, remmember that M$ knows what your own programs does ;-) : : > Can anybody confirm my problems ? : Yeap. I have also run into this problem whilst using RHIDE, Allegro, CWSDPMI. Is it possible to use any other DPMI server in DOS? (using the above combination and preferably a free one). In the program I'm currently working on, the debugger locks up as soon as I get to the timer initialisation part of the progam during debugging. It basically rules out using the debugger at all for my program, and in the long term this is not really acceptable. If Robert Höhne believes it could be a problem with RHIDE, I'm quite happy to email him, (or anyone else who is interested), a copy of my config from RHIDE.