delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/21/17:45:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Mike C" <My DOT address AT end DOT of DOT post>
Newsgroups: comp.os.msdos.djgpp
References: <TNj7c.23$TS DOT 19 AT newsfe1-win> <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: <yPo7c.223$Aa.39@newsfe2-gui.server.ntli.net>
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" <eliz AT elta DOT co DOT il> wrote in message
news:9178-Sun21Mar2004203117+0200-eliz AT elta DOT co DOT il...
> > From: "Mike C" <My DOT address AT end DOT of DOT post>
> > 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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019