Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Device Debugging » Error while debugging
Error while debugging [message #468813] Fri, 16 February 2007 01:01 Go to next message
Sandesh is currently offline SandeshFriend
Messages: 2
Registered: July 2009
Junior Member
	

public static void main(String[] args) throws 
java.io.FileNotFoundException,
      java.io.IOException,
      java.lang.InterruptedException {
 
   
    fileName = new String(args[args.length-1]);
	  
 
    // set up the parser and scanner with the appropriate file
    // name
 
    FileReader aslFile = new FileReader(fileName);
    NolifeScanner scanner = new NolifeScanner(aslFile);
    NolifeParser parser = new NolifeParser(scanner);
 



hi all,

I am debugging a java program in Eclipse 3.2.1 in debug perspective.


When I'm just running the program it's fine. But when I'm launching the
debugger, and trying to step into the NoLifeParser() it stops and shows me
the error message like this:

ClassLoader.class

Source not found
The source attachment does not contain the source for the ClassLoader.class
You can change the source attachment by clicking Change Attached Source
below:

BUTTON

and then the source code for ClassLoader class.

Please help, I'm struggling =(
Thanks in advance,....!!
Re: Error while debugging [message #468820 is a reply to message #468813] Wed, 21 February 2007 14:44 Go to previous message
Doug Gaff is currently offline Doug GaffFriend
Messages: 150
Registered: July 2009
Senior Member
HI Sandesh,

Better to ask this question on eclipse.platform.

Doug

"Sandesh" <skkumbha@mtu.edu> wrote in message
news:60b1bec2515dc4545347f1de08833164$1@www.eclipse.org:

>
	
>
> public static void main(String[] args) throws
> java.io.FileNotFoundException,
>       java.io.IOException,
>       java.lang.InterruptedException {
>
>
>     fileName = new String(args[args.length-1]);
> 	
>
>     // set up the parser and scanner with the appropriate file
>     // name
>
>     FileReader aslFile = new FileReader(fileName);
>     NolifeScanner scanner = new NolifeScanner(aslFile);
>     NolifeParser parser = new NolifeParser(scanner);
>
> 

>
>
> hi all,
>
> I am debugging a java program in Eclipse 3.2.1 in debug perspective.
>
>
> When I'm just running the program it's fine. But when I'm launching the
> debugger, and trying to step into the NoLifeParser() it stops and shows me
> the error message like this:
>
> ClassLoader.class
>
> Source not found
> The source attachment does not contain the source for the ClassLoader.class
> You can change the source attachment by clicking Change Attached Source
> below:
>
> BUTTON
>
> and then the source code for ClassLoader class.
>
> Please help, I'm struggling =(
> Thanks in advance,....!!
Re: Error while debugging [message #587365 is a reply to message #468813] Wed, 21 February 2007 14:44 Go to previous message
Doug Gaff is currently offline Doug GaffFriend
Messages: 150
Registered: July 2009
Senior Member
HI Sandesh,

Better to ask this question on eclipse.platform.

Doug

"Sandesh" <skkumbha@mtu.edu> wrote in message
news:60b1bec2515dc4545347f1de08833164$1@www.eclipse.org:

>
	
>
> public static void main(String[] args) throws
> java.io.FileNotFoundException,
>       java.io.IOException,
>       java.lang.InterruptedException {
>
>
>     fileName = new String(args[args.length-1]);
> 	
>
>     // set up the parser and scanner with the appropriate file
>     // name
>
>     FileReader aslFile = new FileReader(fileName);
>     NolifeScanner scanner = new NolifeScanner(aslFile);
>     NolifeParser parser = new NolifeParser(scanner);
>
> 

>
>
> hi all,
>
> I am debugging a java program in Eclipse 3.2.1 in debug perspective.
>
>
> When I'm just running the program it's fine. But when I'm launching the
> debugger, and trying to step into the NoLifeParser() it stops and shows me
> the error message like this:
>
> ClassLoader.class
>
> Source not found
> The source attachment does not contain the source for the ClassLoader.class
> You can change the source attachment by clicking Change Attached Source
> below:
>
> BUTTON
>
> and then the source code for ClassLoader class.
>
> Please help, I'm struggling =(
> Thanks in advance,....!!
Previous Topic:Error while debugging
Next Topic:Target Management 2.0M5 is released!
Goto Forum:
  


Current Time: Tue Apr 23 15:55:39 GMT 2024

Powered by FUDForum. Page generated in 0.03368 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top