Message-ID: <37DDB6DB.AEFA5E5B@interlog.com> From: Martin Fraser Organization: Interlog Internet Services X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: RHIDE debug problem References: <7qui2l$49d$1 AT thetenth DOT astat DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 52 Date: Mon, 13 Sep 1999 22:45:47 -0400 NNTP-Posting-Host: 209.20.1.176 X-Trace: cac1.rdr.news.psi.ca 937276523 209.20.1.176 (Mon, 13 Sep 1999 22:35:23 EDT) NNTP-Posting-Date: Mon, 13 Sep 1999 22:35:23 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I just started using DJGPP with RHIDE and experienced the same thing, certain expressions in the debugger cause RHIDE to exit and leave you back at the DOS prompt (in my case, a DOS box running under Windows/NT). If you look in section 5.3.2 of the RHIDE documentation for version 1.4 you find the following: "A known limitation is, that the expressions are NOT checked for validity. That means, you can produce any exception there, which will terminate your program. As an example type in the expression input line 3/0" I assume that is the cause of our problem. It doesn't look you can do much other than work around it. Generally, though, I have been very impressed with RHIDE. It has been fairly robust for the other simple things I have tried. I have also taken a look at RSXNTDJ but it seems to require a fair amount of patching to make it work and when I ran it I couldn't figure out how to make the editor work. The only choice I recognized was WinWord and when I selected it it wouldn't run (perhaps because my German is non-existent and I can't figure out the option boxes). I haven't seen any posts from the original author so I think he has moved on to other things. My thought is that it would be better to wait for CygWin32 to stabilize and try using that once I feel ready to tackle Windows. I use Microsoft Visual C++ at work and find the whole Windows paradigm (sorry, I know it's an overworked word) to be far more complicated than necessary. I suspect it's a case of Microsoft rushing to build the Windows platform and then it's been one rewrite after another - no different from any of the other software companies I've worked at in the last 20 years. /Martin Berti Drost wrote: > Hi, > I wonder if sobebody could try to reproduce the following: > write a small C/C++ program using RHIDE (like "hello, world!"), then set a > break point somewhere (e.g. the printf-line). After starting to execute the > program, it stops at the breakpoint. The problem is if I no select DEBUG - > Evulate/modify and enter any string (like "H"), the IDE closes (No error > message, even under WIN). > Again: execute a program till any breakpoint, selece DEBUG - evulate/modify, > and enter any string. > It would be nice if you could try that and tell me, so I would know if it's > my computer or RHIDE that is bugged. > (I'm using RHIDE 1.4) > Thanx, > BertI