🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.debugger
Article #208

Re: JBuilder 2005 throws FileNotFoundException when debugging

#208
From: John McGrath [TeamB]
Date: Tue, 04 Jan 2005 01:31
31 lines
2351 bytes
On 12/30/2004 at 12:54:37 PM, Shankar Unni wrote:

> In theory, JB could examine the exception stack, and if it's a
> FileNotFoundException with sun.util.calendar.ZoneInfoFile$1.run as the
> third frame from the top, it could skip it and continue as a special
> case.

I am sure that could be done.  JBuilder is already looking at exceptions
that occur and responding to them.  It should be possible to make
decisions based on where the exception occurred, since that information is
in the exception.

> Perhaps with a -D flag in jbuilder.config to control this hack.
> 
> Could an OpenTool be written for this (Is it possible to control
> breakpoints in the OpenTools API? How about in the Personal edition?)

I really do not know for sure.  As far as I know, the OpenTools API does
not expose anything close to this, so you would probably have to write
something that talks JVMDI and manages to co-exist with JBuilder's debug
handling.  I do not know much about JVMDI, so I have no idea if this is
feasible, but it sounds rather dicey to me.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <xn0dwtreg1ilhjl004@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b57550@newsgroups.borland.com> <xn0drm4dq9aapv8002@newsgroups.borland.com> <41d440dd@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff5c5,33306721c1cf13a0
X-Google-Attributes: gidff5c5,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: JBuilder 2005 throws FileNotFoundException when debugging
Newsgroups: borland.public.jbuilder.debugger
References: <41b57550@newsgroups.borland.com> <xn0drm4dq9aapv8002@newsgroups.borland.com> <41d440dd@newsgroups.borland.com>
User-Agent: XanaNews/1.17.1.2
Message-ID: <xn0dwtreg1ilhjl004@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:000000DC
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 141.158.234.226
Date: 3 Jan 2005 17:31:47 -0800
X-Trace: newsgroups.borland.com 1104802307 141.158.234.226 (3 Jan 2005 17:31:47 -0800)
Lines: 31
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail