Debugger problem: breakpointer is unavailable for changed code in IDEA > 9.0.1

Hi,

I have IDEA 9.0.4 run on java 1.6.0_20, Fedora 13 32bit. When I make change in .java files and redeploy my web app under JBOSS 5.1.0.GA, the debugger does not recognize the changed lines and breakpoints become unavailable. For IDEA 9.0.1 everything works okay - breakpoints on changed/new lines of code appeared with exclamation mark and it worked fine.

e.g.

a) code is
...
10 public String test() {
11   return "hello";
12 }
...
breakpoint is on line 11 and works.

b) debugger is on and I change code to
...
10 public String test() {
11   someVar ++;
12   return "hello";
13 }
14
15 private static int someVar = 0;
...
Now, after redeployment breakpoint on line 12 does not work any more (in code a) it corresponds to line 12 with "}"). However if I put breakpoint to line 11 I can check the value of 'someVar' in Watches.

What causes breakpoints not to recognize changed code in versions > IDEA 9.0.1 ?
Ask, if you need additional info.

2 comments
Comment actions Permalink

The same for IDEA 10.0 (IU-99.18).

0
Comment actions Permalink

Ok, we've reproduced the problem. You can create an issue for that (http://youtrack.jetbrains.net/issues/IDEA) to track the progress.

The same for IDEA 10.0 (IU-99.18).

>

---
Original message URL: http://devnet.jetbrains.net/message/5280959#5280959



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.