X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Mike C" Newsgroups: comp.os.msdos.djgpp References: <9178-Sun21Mar2004203117+0200-eliz AT elta DOT co DOT il> Subject: Re: Can debug be switched on and off? Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Sun, 21 Mar 2004 23:46:47 -0000 NNTP-Posting-Host: 80.6.46.20 X-Complaints-To: abuse AT ntlworld DOT com X-Trace: newsfe2-gui.server.ntli.net 1079908702 80.6.46.20 (Sun, 21 Mar 2004 22:38:22 GMT) NNTP-Posting-Date: Sun, 21 Mar 2004 22:38:22 GMT Organization: ntl Cablemodem News Service To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in message news:9178-Sun21Mar2004203117+0200-eliz AT elta DOT co DOT il... > > From: "Mike C" > > Newsgroups: comp.os.msdos.djgpp > > Date: Sun, 21 Mar 2004 18:04:22 -0000 > > > > When single-stepping through the program, the "program line"s would be > > single-stepped, but the "no-step program line"s would not. > > With DJGPP/RHIDE, you could always position the cursor on the first program > > line after the #pragma trace + and press F4, which would have the same > > effect, but I found this feature really useful. > > Can you explain why is this useful even though you can use F4? > > When I use GDB, the command "until +5" will run the program until it > gets to 5 lines from the current line. That sounds like an equivalent > to what you were used to, but since you say F4 is not good enough, I'm > not sure what else you want. Can you write "until +5" into the program text so that it does it every time it gets there, or is a command-line instruction? Thanks, Mike.