Tag: ber use cell breakpoint invalid number for Val Invalid class
problem: After you set a breakpoint in a project, the breakpoint is invalid during debugging----that is, the program runs directly to the end.
There are several projects in the Eclipse workspace, but only the new renaming is invalid at a project breakpoint, and the breakpoint is valid within the other project
The measures taken:
1. Delete the project (all MAVEN works) and re-import it. Invalid.
2. Select Remove all breakpoints, and then reset the breakpoint, or not.
This problem to find the reason: is the project compile time did not set the line number, resulting in debugging can not be located, the key is: This line number is set for a project, not the environment variables of the entire platform, so there will be some engineering, some projects can not be the case . The pit daddy is, this question actually did not have any hint, also did not know when to tick off. Don't say much nonsense, the solution is as follows: Select Project, right click-->properties-->java compiler-->classfile Generation, tick add line number attributes to generated class files (used by the debugger). And then we can. |
A project breakpoint in Eclipse is not going to be a problem.