Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install breakpoint due to missing line number attribute [duplicate]

Tags:

java

eclipse

When i put breakpoint it show given error:

Unable to install breakpoint due to missing line number attribute

I tried most of the option found on stackoverflow still same issue.

enter image description here

Now same error shows still debugging works fine. Why this error come?

like image 985
Devram Kandhare Avatar asked Oct 30 '22 03:10

Devram Kandhare


1 Answers

If the source code of the class is in a Java project and compiled by Eclipse, do the following:

  1. Right-click on the project that contains the code and choose Properties...
  2. In Java Compiler check Add line number attributes to generated class files (used by the debugger)
like image 111
howlger Avatar answered Nov 03 '22 01:11

howlger