Article View: borland.public.jbuilder.debugger
Article #5172Re: Debug cursor doesn't line up with code being executed
From: Andreas Meyer
Date: Mon, 16 Nov 1998 00:00
Date: Mon, 16 Nov 1998 00:00
36 lines
2049 bytes
2049 bytes
Hi Frank, i've experienced the same problem today. The first thing i did was to read the hints&tips.txt file. There is a section concerning the debugger: * Wenn Zeilennummern und Haltepunkte nicht synchron sind, untersuchen Sie den Quelltext auf nicht dazugeh�rige Zeichen. Gew�hnlich kommt dieses Problem von einem externen Editor, der nicht CR/LF als Zeichen f�r das Zeilenende verwendet. Diese Zeichen schleichen sich in den Quelltext, wenn das Programm au�erhalb der IDE oder mittels der Zwischenablage bearbeitet wurde. Diese Zeichen sollten durch regul�re CR/LF ersetzt werden. It mainly says that there is a problem if you use external editors (or clipboard) because they produce some different CR/LF combinations. My source (6000 lines) contained 4500 CR/LF and 1000 LF/CR and 500 different sequences. So this could not be the exact reason. I have found, that my code contained 22 (!) combinations of LF/CR/LF/CR. Under some conditions (about 30 %) these LF/CR/LF/CR (0A0D0A0D) sequences caused the problem mentioned above. After fixing that 30% the debugger works correctly again. Andreas Meyer Hackenberg & Partner GmbH & Co.KG, A Renaissance Worldwide Company EMail: am@hackenberg.de Frank Gepfrich wrote: > When trying to debug a class the debug cursor is two lines ahead of the > code that is executing. This makes it very hard on the eyes for debugging. > How can I fix this?
Technical Details
Message-ID:
<36501E65.61CD9D2A@hackenberg.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<71dn05$njm2@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII X-Google-Thread: ff5c5,d49cf28897cf6fc1 X-Google-Attributes: gidff5c5,public From: Andreas Meyer <am@hackenberg.de> Subject: Re: Debug cursor doesn't line up with code being executed Date: 1998/11/16 Message-ID: <36501E65.61CD9D2A@hackenberg.de> X-Deja-AN: 412370257 Content-Transfer-Encoding: 8bit References: <71dn05$njm2@forums.borland.com> To: Frank Gepfrich <frankg@internet-software.com> Content-Type: text/plain; charset=iso-8859-1 Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.debugger