Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to install breakpoint
Unable to install breakpoint [message #184484] Wed, 13 December 2006 23:24 Go to next message
Pavan is currently offline PavanFriend
Messages: 11
Registered: July 2009
Junior Member
Hi,

Eclipse v 3.2.1
JRE v 1.5.10

I have set a breakpoint in my program

import javax.swing.JFrame;

public class DragSelect
{
public static void main(String[] args)
{
new JFrame().setVisible(true); //breakpoint at this line
}
}

I am getting a strange error if i invoke the debugger or try setting a
breakpoint in JFrame class file(using source file).

-------------------------
Unable to install breakpoint in javax.swing.JFrame due to missing line
number attributes. Modify compiler option to generate line number
attributes

Reason: Absent line number information
-------------------------

can ne body help.

I have ticked the checkbox "Add line number attributes in java compiler
options" and recompiled the code but no luck :-(
Re: Unable to install breakpoint [message #184494 is a reply to message #184484] Wed, 13 December 2006 23:43 Go to previous message
Pavan is currently offline PavanFriend
Messages: 11
Registered: July 2009
Junior Member
pavan wrote:

> Hi,

> Eclipse v 3.2.1
> JRE v 1.5.10

> I have set a breakpoint in my program

> import javax.swing.JFrame;

> public class DragSelect
> {
> public static void main(String[] args)
> {
> new JFrame().setVisible(true); //breakpoint at this line
> }
> }

> I am getting a strange error if i invoke the debugger or try setting a
> breakpoint in JFrame class file(using source file).

> -------------------------
> Unable to install breakpoint in javax.swing.JFrame due to missing line
> number attributes. Modify compiler option to generate line number
> attributes

> Reason: Absent line number information
> -------------------------

> can ne body help.

> I have ticked the checkbox "Add line number attributes in java compiler
> options" and recompiled the code but no luck :-(Hi,
found answer.!!

if ne1 inrested see debuggin rt.jar
http://eclipsewiki.editme.com/DebuggingFaq
regards
Previous Topic:Eclipse CDT won't build, but no error messages
Next Topic:Creating BIRT Report by java code
Goto Forum:
  


Current Time: Thu Apr 25 22:02:04 GMT 2024

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

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

Back to the top