Article View: borland.public.jbuilder.debugger
Article #5202Re: debugger out of sync with source.... (with code sample)
From: Paul T. Maurer
Date: Sun, 23 Aug 1998 00:00
Date: Sun, 23 Aug 1998 00:00
176 lines
6881 bytes
6881 bytes
This is a multi-part message in MIME format. --------------7C8217F4BE4A98CFD41BACAC Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Richard, On the money.... I went through all my code and found stray "^M" characters and cleaned them all up... I assume you get this issue regularly.... Is this registered as a bug? I started using Java Workshop on Friday for debugging because it didn't have the problem described below... I'm glad I can switch back.= =2E.. Is there a 2.1 release on the horizon? Paul Richard Wilkman wrote: > Paul: > > In your attached file, on line 13 (in your catch) there are 2 > non-printing characters. I suspect they are supposed to be CRLF > pairs, but they're not. > > Where I've seen this. > > 1) moving between different platforms and the PC > 2) using an external editor that used non-PC style handling for EOL > and then cutting and pasting. > 3) using an external editor that used non-PC style handling for EOL > and then saving the file that way. > > My usual tool for finding this problem (vi) failed me, but Notepad > makes the non-printers shine pretty brightly. > > -Rich > > Paul T. Maurer wrote: > > > > Here is some concise code the reproduces the problem > > on my machine.... > > > > Paul T. Maurer wrote: > > > > > When stepping through the debugger, at a particular point > > > in my code, the debugger seems to be 4 lines off from the > > > actual source code..... this makes it very difficult to work. > > > > > > facts: > > > > > > 1) I've confirmed that I'm using the correct source code... > > > there is only one version on my machine. I've removed > > > and rebuilt the project file and classes from scratch to > > > ensure.... > > > > > > 2) I noticed that the debugger matches the execution while > > > stepping through untill it reaches a particular try/catch block... > > > from then on it's off by 4 lines exactly.. > > > > > > 3) Here is the weird part.... While stepping through the debugger > > > and the code is in sync... Strings do not have any special highligh= ting.... > > > once I get to the try/catch block then strings are highlighted by t= he > > > debugger..... go figure.... > > > > > > Would love to talk to anybody at inprise about this.... but am tire= d > > > of paying the $225 a call or $4.95 a minute to help Inprise debug > > > Jbuilder... > > > > > > Paul > > > > > > -----------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= ------ > > > > > > Paul Maurer <paul.maurer@viant.com> > > > Director > > > Viant > > > > > > Paul Maurer > > > Director <paul.maurer@viant.com> > > > Viant > > > 625 6th Avenue Work: 212-271-6969 > > > 3rd Floor Fax: 212-271-4455 > > > New York Netscape Conference Address > > > NY Netscape Conference DLS Server > > > 10011 > > > USA > > > Additional Information: > > > Last Name Maurer > > > First Name Paul > > > Version 2.1 > > > > -------------------------------------------------------------------= --- > > > > Name: JbuilderBug.java > > JbuilderBug.java Type: Java File (application/x-unknown-cont= ent-type-JBuilder.JavaFile) > > Encoding: base64 > > > > Paul Maurer <paul.maurer@viant.com> > > Director > > Viant > > > > Paul Maurer > > Director <paul.maurer@viant.com> > > Viant > > 625 6th Avenue Work: 212-271-6969 > > 3rd Floor Fax: 212-271-4455 > > New York Netscape Conference Address > > NY Netscape Conference DLS Server > > 10011 > > USA > > Additional Information: > > Last Name Maurer > > First Name Paul > > Version 2.1 > > -- > > =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > Rich Wilkman > Senior Quality Assurance Engineer > Borland JBuilder Team > > If you see something that looks like an opinion up there, > it's mine and mine alone. > > Mail sent to me from the newsgroups won't bounce but will > be ignored. If I have time, I'll respond, but you have > a better chance if you confine your posts to the newsgroups > =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D --------------7C8217F4BE4A98CFD41BACAC Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Paul Maurer Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Paul Maurer n: Maurer;Paul org: <a href="http://www.viant.com">Viant</a> adr: 625 6th Avenue;;3rd Floor;New York;NY;10011;USA email;internet: paul.maurer@viant.com title: Director tel;work: 212-271-6969 tel;fax: 212-271-4455 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------7C8217F4BE4A98CFD41BACAC--
Technical Details
Message-ID:
<35E06782.6581588A@viant.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35DD8818.9DE39FC4@viant.com> <35DDC31F.17E141CF@viant.com> <35DDED26.19F503F6@inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5c5,6fb3e2d4cc3b8c32 X-Google-Attributes: gidff5c5,public X-Google-Thread: fa3e3,6fb3e2d4cc3b8c32 X-Google-Attributes: gidfa3e3,public From: "Paul T. Maurer" <paul.maurer@viant.com> Subject: Re: debugger out of sync with source.... (with code sample) Date: 1998/08/23 Message-ID: <35E06782.6581588A@viant.com> X-Deja-AN: 383956566 References: <35DD8818.9DE39FC4@viant.com> <35DDC31F.17E141CF@viant.com> <35DDED26.19F503F6@inprise.com> To: Richard Wilkman <rwilkman@inprise.com> Content-Type: multipart/mixed; boundary="------------7C8217F4BE4A98CFD41BACAC" Organization: Viant Mime-Version: 1.0 Reply-To: paul.maurer@viant.com Newsgroups: borland.public.jbuilder.debugger,borland.public.jbuilder.ide