This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
could anybody tell me how do i set the break points in visual age tool for a java program, the problem is some times when i set the break points i am getting step by step screen, some times it is not coming. could any body tell me why i am not getting that step by step(debugging) screen. Thanks ------------------
Hi Anita, Sounds like you are referring to the Debug window. I've been using VIJ for a few months pretty heavily, so I am getting a bit more familliar with it. I havent't encountered any irregularities of the debugger sometimes recognizing a breakpoint, and other time flow through it without stopping. Are you sure your flow of execution hits the statements with the breakpoints set on them? That is what I would try to check into.
------------------ United Health Group Hartford, CT, USA
United Health Group<BR>Hartford, CT, USA
Joined: Dec 26, 2000
Hi Thanks for replying me very soon. I am setting BreakPoints in my java program, and when i run this program i am getting Debugger Screen by itself and shows me all the variable values where i mentioned break points. But the problem is i am getting this Debugger screen only for some java programs, why i am not getting Debugger screen even i mention break points for some java programs, this is my problem. Thank u
I would guess, your program, while executing you java prog., JVM is not going to the line where your break points are. This could be one possibility depending on the logic. I can't say more without looking at the code. Regds. - satya
I would agree with satya. Can you replicate your debug window problem with a very short, simple program, and post it here? I can put it into VAJ (mistyped it earlier as VIJ) and see what it does for me. By the way, I have vers. 3.02 professional ed. Hope to get v3.5 working soon with fixpack 2.