Its impossible to add line numbers debug info to compiled project
Environment:
Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343
Scala IDE for Eclipse 1.0.0.201009060003 org.scala-ide.sdt.feature.feature.group
Description:
Plugin ignores 'g' option changes both in workspace and project properties.
Steps:
Result:
got the following message:
Unable to install breakpoint in ***** due to missing line number attributes. Modify compiler options to generate line number attributes.
Reason:
Absent Line Number Information
Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343
Scala IDE for Eclipse 1.0.0.201009060003 org.scala-ide.sdt.feature.feature.group
Description:
Plugin ignores 'g' option changes both in workspace and project properties.
Steps:
- create a project
- change workspace and/or project Scala compiler setting 'g' to 'line' (combo box have default value 'vars')
- clean workspace, build workspace
- debug main object as a Scala application
Result:
got the following message:
Unable to install breakpoint in ***** due to missing line number attributes. Modify compiler options to generate line number attributes.
Reason:
Absent Line Number Information
Leave a comment
Updating tickets (#3255, #3262, #3271, #3277, #3279, #3287, #3313, #3317, #3318, #3320, #3329, #1000000, #1000002, #1000004, #1000005, #1000007, #1000011, #1000013, #1000018, #1000019, #1000020, #1000022, #1000023, #1000024, #1000025, #1000026, #1000028, #1000031, #1000033, #1000034, #1000037, #1000039, #1000040, #1000041, #1000057, #1000058, #1000060, #1000061, #1000063, #1000064, #1000065, #1000067, #1000070, #1000073, #1000076, #1000080, #1000082, #1000083, #1000084, #1000085, #1000087, #1000088, #1000089, #1000090, #1000092, #1000093, #1000094, #1000095, #1000097, #1000102, #1000104, #1000106, #1000108, #1000110, #1000111, #1000116, #1000124, #1000126, #1000127, #1000129, #1000132, #1000133, #1000136, #1000139, #1000143, #1000144, #1000145, #1000148, #1000149, #1000152, #1000154, #1000155, #1000157, #1000158, #1000159, #1000161, #1000169, #1000170, #1000172, #1000174, #1000176, #1000178, #1000179, #1000183, #1000185, #1000188, #1000189, #1000192, #1000196, #1000198)
on 2011-07-25 17:25 *
By Mirco Dotta
I just give it a try with Helios and this works fine. I think the issue concerns the old plug 1.0.0 and not the new one 2.0.0 (at least not the latest release, beta09).
on 2011-07-25 22:07 *
By Mirco Dotta
Assigned to changed from login to Mirco Dotta
Status changed from New to Accepted
Ups, you are right... I'm no longer sure what did I test this morning, might have been lack of coffee ;)
It is working but the error popup is definitely annoying. I'm updating the ticket info and I'll push it in 2.1 milestone as it is not a blocker for 2.0 final.
It is working but the error popup is definitely annoying. I'm updating the ticket info and I'll push it in 2.1 milestone as it is not a blocker for 2.0 final.
on 2011-07-25 22:08 *
By Mirco Dotta
Version changed from 2.8.0.final to 2.0.0-beta09-29
Eclipse version changed from Galileo to All
Component changed from None to Eclipse
Milestone changed from Backlog to 2.1
The 'g' preference is correctly given to the compiler, but for some reason 'none' and 'source' return the result as 'line'.
The 'no line number' dialog is likely due to the same problem as for #1000799, the bytecode of the synthetic companion class cannot be associated to any line.
The 'no line number' dialog is likely due to the same problem as for #1000799, the bytecode of the synthetic companion class cannot be associated to any line.
on 2012-01-26 21:18 *
By skyluc
Version changed from 2.0.0-beta09-29 to 2.0.0-final-29
Assigned to changed from Mirco Dotta to -none-
Component changed from Eclipse to Debugger
Milestone changed from Helium to Backlog
Permission type changed from None to Public