views:

86

answers:

2

I have created the breakpoint and started the project in debug mode. But still the execution does not stop at the breakpoints.

I also have some junit classes in the same project, breakpoints are working fine in the junit class.

So can anybody suggest a solution?

Thanks in advance.

+1  A: 

Using Java 6 update 14? See 279137: Breakpoints fail to hit under JDK 1.6.0_14.

Robert Munteanu
I am using java 5. The breakpoints are working fine for the same version in other systems.
A: 

Is that code running in a server? If your code is running in an application server or servlet container the server needs to be started in debug mode to break.

Fabian Steeg
I have started the server in debug mode.. still the breakpoints are not working :-(