Tag Archives: absent line number information

Solution to prompt absent line number information when debugging

Programmer algorithm practice must read, common Java API skills to share>>>

unable to install breakpoint in…(file name) due to miss line number attributes. midify compliter options to generate line number attributes.

reason:

absent line number information

solution: 1: if you are debugging with ant, please add this sentence in your build.xml & lt; javac …..debug=”true”/>

2: Project – > Attribute – > Java compiler – > Class file generation – > Add line number attribute to generated class file (used by debugger) – > Tick

Project—> Properties—-> java Compiler—-> Classfile generation
select the check box below, click apply, and then click OK. If your previous check is checked, please remove the check, apply, and then open the check again. In apply, click OK at the end

It’s up to you to solve the problem