Article View: borland.public.jbuilder.debugger
Article #5200Re: debugger out of sync with source.... (with code sample)
From: Paul T. Maurer
Date: Fri, 21 Aug 1998 00:00
Date: Fri, 21 Aug 1998 00:00
110 lines
5109 bytes
5109 bytes
This is a multi-part message in MIME format. --------------94FF7A602535DE8B5270DF85 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 highlighting= =2E... > once I get to the try/catch block then strings are highlighted by the > debugger..... go figure.... > > Would love to talk to anybody at inprise about this.... but am tired > 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 --------------94FF7A602535DE8B5270DF85 Content-Type: application/x-unknown-content-type-JBuilder.JavaFile; name="JbuilderBug.java" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="JbuilderBug.java" DQppbXBvcnQgamF2YS5pby4qOw0KDQpwdWJsaWMgY2xhc3MgSmJ1aWxkZXJCdWcNCnsNCg0K ICBwdWJsaWMgSmJ1aWxkZXJCdWcoKQ0KICB7DQogICB3aGlsZSAoIHRydWUgKQ0KICAgew0K ICAgICB0cnkgew0KICAgICAgRmlsZSBmID0gbmV3IEZpbGUobnVsbCk7DQogICAgIH0gY2F0 Y2ggKCBFeGNlcHRpb24gZXggKSB7Cg0gICAgICAgIFN5c3RlbS5lcnIucHJpbnRsbigiT29w cHMgamJ1aWxkZXIgaGFzIGFub3RoZXIgYnVnLi4uICIgKyBleCk7DQogICAgICAgIHRyeSB7 IFRocmVhZC5jdXJyZW50VGhyZWFkKCkuc2xlZXAoNTAwMCk7IH0gY2F0Y2ggKCBFeGNlcHRp b24gZXgyKSB7fQ0KICAgICAgICBjb250aW51ZTsNCiAgICAgfQ0KICAgICBTeXN0ZW0uZXJy LnByaW50bG4oIkkgY2FuJ3QgYmVsaXZlIEkgZ290IGhlcmUuLi4uLiIpOw0KICAgICBicmVh azsNCiAgIH0NCiAgfQ0KDQogIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFy Z3MpDQogIHsNCiAgICBKYnVpbGRlckJ1ZyBqYnVpbGRlckJ1ZyA9IG5ldyBKYnVpbGRlckJ1 ZygpOw0KICB9DQp9IA0K --------------94FF7A602535DE8B5270DF85 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 --------------94FF7A602535DE8B5270DF85--
Technical Details
Message-ID:
<35DDC31F.17E141CF@viant.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35DD8818.9DE39FC4@viant.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa3e3,6fb3e2d4cc3b8c32 X-Google-Attributes: gidfa3e3,public X-Google-Thread: ff5c5,6fb3e2d4cc3b8c32 X-Google-Attributes: gidff5c5,public From: "Paul T. Maurer" <paul.maurer@viant.com> Subject: Re: debugger out of sync with source.... (with code sample) Date: 1998/08/21 Message-ID: <35DDC31F.17E141CF@viant.com> X-Deja-AN: 383424546 References: <35DD8818.9DE39FC4@viant.com> Content-Type: multipart/mixed; boundary="------------94FF7A602535DE8B5270DF85" Organization: Viant Mime-Version: 1.0 Reply-To: paul.maurer@viant.com Newsgroups: borland.public.jbuilder.debugger,borland.public.jbuilder.ide