X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Mike C" Newsgroups: comp.os.msdos.djgpp Subject: Can debug be switched on and off? Lines: 42 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 18:04:22 -0000 NNTP-Posting-Host: 80.6.46.20 X-Complaints-To: abuse AT ntlworld DOT com X-Trace: newsfe1-win 1079888115 80.6.46.20 (Sun, 21 Mar 2004 16:55:15 US/GMT) NNTP-Posting-Date: Sun, 21 Mar 2004 16:55:15 US/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 I originally learned C with the MIX-C package. It was superb, I thought, but they never migrated it to 32-bit, so I moved to DJGPP some years ago. One useful thing the MIC-C package offered was the ability to put "pragmas" into the text, which would be interpreted by the debugger. In particular, you could put program line program line program line program line #pragma trace - no-step program line no-step program line no-step program line #pragma trace + program line program line program line program line 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. Is there any equivalent with DJGPP/RHIDE that I don't know about? Thanks, Mike. -- WARNING: My e-mail return address is bogus to confuse the automated spam address gatherers. Mental decryption required: mikabel#ntlworld*com where * = 'dot' and # = 'at'