Unable to install breakpoint in *** due to missing line number attributes.

940 views
Skip to first unread message

Jake Becker

unread,
Jul 23, 2011, 9:52:25 PM7/23/11
to Scala IDE User
I'm attempting to debug a simple Scala project using the IDE. Whenever
I try to set a breakpoint other than a class breakpoint, I get the
error:

Unable to install breakpoint in *** due to missing line number
attributes. Modify compiler options to generate line number
attributes.

Reason:
Absent Line Number Information

This seems to be this bug that was filed nearly a year ago and never
received any attention:
http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1000155-its-impossible-to-add-line-numbers-debug-info-to-compiled-project

I went into Preferences > Scala > Compiler and set the "g" option
("Set level of generated debugging info") to "line" instead of "vars",
but it had no effect.

What's going on here? Presumably, the IDE can debug scala projects.
Anyone have some idea what I need to do?

Thanks much for any help,
Jake Becker

Mirco Dotta

unread,
Jul 25, 2011, 8:12:44 AM7/25/11
to scala-i...@googlegroups.com
Hi Jake,

I just commented on the ticket
http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1000155-its-impossible-to-add-line-numbers-debug-info-to-compiled-project

In short, it works with the latest beta09 (breakpoints can be inserted) but there is an annoying error popup displayed.

Are you using the 2.0.0-beta09? If yes, and this still does not work properly for you, please update the ticket with additional information.

-- Mirco

Reply all
Reply to author
Forward
0 new messages