简体   繁体   中英

eclipse debugger points to false line in the source code

I use exlipse kepler with m2e. When debugging a maven project with the debugger, it shows me the false line numbers in the debugger. It starts at the javadoc and does not enter into the function body.

I read in google that there may be problems with eclipse juno but not with kepler.

How can i solve this issue?

Thanks,

David

You should check that the jar/war that is deployed is in sync with the code in your eclipse workspace. Maybe you edited some code after deployment?

If that is not the problem, you can also check that the correct source is attached to the Debug Configuration (Source tab).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM