0

I am facing a strange issue, while debugging the Unit Test, i put a break point at unit test API (Test_Computation) and another break point at the concrete class ComputationImpl::Computation() which invoked from Test API. While debugging, getting the below issue:

Unable to install breakpoint in com.lok.ComputationImpl$$FastClassByGuice$$983a053 due to missing ine number attributes. Modify compiler options to generate line number attributes. Reason: Absent Line number information

But the TestClass break point is hitting, not the actual class.

I am using amazon correto 1.8, eclipse 2020 (latest). I followed all options here, but did not help me. Eclipse - Unable to install breakpoint due to missing line number attributes Can someone please help on this.

Lokanath Nayak
  • 89
  • 2
  • 10
  • What compiled the concrete class? Was it compiled without debugging information (the equivalent of `javac`'s `-g:none`)? – nitind Jun 16 '20 at 20:44

1 Answers1

0

The issue was due to a wrong Mock on class. Its resolved now

Lokanath Nayak
  • 89
  • 2
  • 10