Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: "Rafael Garc a" , djgpp AT delorie DOT com Date: Tue, 13 Apr 1999 12:15:51 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Subject: Re: Phantom lines debugging within RHIDE In-reply-to: <7eutne$r6k$1@lola.ctv.es> X-mailer: Pegasus Mail for Windows (v2.54) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-printable to 8bit by delorie.com id LAA12056 Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk "Rafael Garcİa" wrote: > I am trying to step through this code and lines 2 and 3 are skipped with a > single hit to F8 > > pos=(int)(p-letras); > activar=(isupper(*s)); > if ( activar) fputs(" ",f); > if (*s=='B') { > > And I cannot watch the value of variable 'activar': "not available" > > Any idea? Yes: turn off optimizations ;-) isupper is just a table look-up so the compiler will optimize it. Also if you insist using -On use -gstabs3 or even -gstabs+ because they add some information about optimized variables, but even with that some variables stored in register can't be debugged and you'll need to move them to static variables SET ------------------------------------ 0 -------------------------------- Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(5411) 4759 0013