While debugging i am getting no source attachment | Selenium Forum
M
Manjula Edpuganti Posted on 30/08/2019

I am trying to debug a code but getting the message
"The JAR file M2_REPO\org\testng\testng\6.9\testng-6.9.6.jar has no source attachment"

I am not able to resolve it.
Please see attachment for the screenshot. When i click on attach source, it is giving pop-up to enter location variable path. I am not sure what it is.


M
Manjula Edpuganti Replied on 31/08/2019

I also try to do the following.

I download the testng6.9 jar files(there are like 8 jar fles) and then went to java build path in eclipse.
Went to libraries tab and clicked on Add Library and selected the downloaded 8 testng6.9 jar files and clicked ok. 
Please see the screenshot in attached doc3 document.
Still getting the message.


A
Ashish Thakur Replied on 31/08/2019

This happens the control goes to a compiled jar file. To overcome this issue, try hitting the F6 key instead of the F5 key. F5 key moves line by line and get inside the other called methods. Whereas F6 goes line by line but doesn't get inside methods.