Article View: borland.public.jbuilder.debugger
Article #288Re: debugger path issue
From: Hin Boen
Date: Thu, 04 Dec 2003 21:23
Date: Thu, 04 Dec 2003 21:23
102 lines
3595 bytes
3595 bytes
> Do you have suggestions on how I can correct the problem?
Are you talking about finding Launcher.java or Untit1.java file? If you are talking about Launcher.java file, there is nothing JBuilder can do to solve the problem.
-Hin
Franken wrote:
>Hin
>
>Thanks for your reaction and I think you might be right that that is the problem. I presume there must be something I can do to ensure that the debugger will find the proper source or solve this somehow. (since I guess that nobody has the sun.misc.* in their own directories.)
>
>Do you have suggestions on how I can correct the problem?
>
>(I included the java source code that provided the problem below. To show that there is nothing strange there going on.)
>----------------------------------------------------Untit1.java
>public class untit1 {
> public untit1() {
> System.out.println("Untit1");
> new untit2();
> }
>
> static public void main(String argv[]) {
> new untit1();
> }
>
>}
>----------------------------------------------------Untit2.java
>public class untit2 {
> public untit2() {
> System.out.println("Untit2");
> }
>
>}
>-------------------------------------------------------------
>
>
>
>
>Hin Boen <hboen@borland.com> wrote:
>
>
>>Hi Franken,
>>
>>I do not think you have Launcher.java in
>>c:/Company/project/sampledir/peter/src/sun/misc directory. So, JBuilder
>>will show you the stub source instead.
>>
>>-Hin
>>
>>
>>Franken wrote:
>>
>>
>>
>>>Below are the results of the tests:
>>>
>>>
>>>
>>>
>>>
>>>>a. what is the full-package-name and the simple-java-source-name?
>>>>
>>>>
>>>>
>>>>
>>>loadClass(): 258, sun.misc.Launcher$AppClassLoader, Launcher.java
>>>
>>>
>>>
>>>
>>>
>>>>b. what is your project source path (Project | Project Properties...,
>>>>select Path tab)?
>>>>
>>>>
>>>>
>>>>
>>>c:/Company/project/sampledir/peter/src
>>>
>>>
>>>
>>>
>>>
>>>>c. where your actual source file for this class is located?
>>>>
>>>>
>>>>
>>>>
>>>c:/Company/project/sampledir/peter/src/
>>>
>>>(By the way: I can debug the println but not my own written class)
>>>
>>>
>>>
>>>
>>>
>
>
>
Technical Details
Message-ID:
<3fcfa4e7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!newspeer1.nwr.nac.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fc9d713$1@newsgroups.borland.com> <3fcbc7ef$1@newsgroups.borland.com> <3fcccfab$1@newsgroups.borland.com> <3fcd1c63$1@newsgroups.borland.com> <3fceb093$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5c5,519ee041482f9743 X-Google-Attributes: gidff5c5,public X-Google-ArrivalTime: 2003-12-04 13:40:23 PST Date: Thu, 04 Dec 2003 13:23:15 -0800 From: Hin Boen <hboen@borland.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.debugger Subject: Re: debugger path issue References: <3fc9d713$1@newsgroups.borland.com> <3fcbc7ef$1@newsgroups.borland.com> <3fcccfab$1@newsgroups.borland.com> <3fcd1c63$1@newsgroups.borland.com> <3fceb093$1@newsgroups.borland.com> In-Reply-To: <3fceb093$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.11.228 Message-ID: <3fcfa4e7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070572775 10.143.11.228 (4 Dec 2003 13:19:35 -0700) Lines: 103 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!newspeer1.nwr.nac.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail