🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: debugger path issue

#286
From: Franken
Date: Thu, 04 Dec 2003 02:57
72 lines
2809 bytes
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: <3fceb093$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <3fc9d713$1@newsgroups.borland.com> <3fcbc7ef$1@newsgroups.borland.com> <3fcccfab$1@newsgroups.borland.com> <3fcd1c63$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-03 20:05:36 PST
From: "Franken" <pwm.franken@planet.nl>
Sender: "Franken" <pwm.franken@planet.nl>
Reply-To: "Franken" <pwm.franken@planet.nl>
Subject: Re: debugger path issue
Newsgroups: borland.public.jbuilder.debugger
X-User-Info: 213.10.176.65     
References: <3fc9d713$1@newsgroups.borland.com> <3fcbc7ef$1@newsgroups.borland.com> <3fcccfab$1@newsgroups.borland.com> <3fcd1c63$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3fceb093$1@newsgroups.borland.com>
Date: 3 Dec 2003 19:57:07 -0700
X-Trace: newsgroups.borland.com 1070510227 207.105.83.66 (3 Dec 2003 19:57:07 -0700)
Lines: 74
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail