@Lic. Marcelo Diaz. thank for answering one question but why it is
not allowing to have breakpoints at function definitions
for ex:
1class A{
2void fn(){
3}
4psvm(S args[]){
5A a = new A();
6a.fn();
7}
now if i put breakpoint on line 2 , it does not allow.
plz also help me on other parts also that how to reach the line of
breakpoint when i starts debugging with F7.
On Sep 7, 8:01 pm, Marcelo Diaz <[email protected]> wrote:
> Hi vicky!
>
> 2009/9/7 vicky <[email protected]>
>
>
>
> > @jatin hey i have still doubt in it actually shift+F5 is for finish
> > debug session. wat i am not getting is the way that when i start
> > debugging with f7 , how do i then tranfer control to the breakpoint
> > line .
> > also it says that it will allow to set breakpoint only on
> > executable statements plz help yaar
>
> That means that u can´t add a breakpoint to a comment line for example.
>
> Once u have setted a breakpoint and run the debugger, it'll stop in this
> point...from this point u can StepOver(F8), StepInto(F7) or
> StepOut(CtrlF7)...as simple as that.
>
> Good luck!
>
>
>
>
>
>
>
> > On Sep 7, 6:29 pm, vicky <[email protected]> wrote:
> > > THANKS jatin. i agree with ur last suggestion but i experimented a
> > > lot . actually , i was knowing almost everything what u taught but
> > > not just one thing and that was "DEBUG-MODE" wat i used to do was
> > > pressing (Shift+F6) after stating to debug which forced program to
> > > run completely. ok thanks a lot in the end again
>
> > > On Sep 7, 12:51 pm, Jatin <[email protected]> wrote:
>
> > > > u move ur cursor 2 d line were u want 2 insert breakpt nd den u press
> > > > Ctrl+F8, d line will bcum pink - nd a breakpoint will b inserted at
> > > > dat line - or u can simply click in the left margin of the line
> > > > 2 remove d break point, u can press Ctrl+F8 again or click in the left
> > > > margin
> > > > if u again click on left margin or Ctrl+F8 d break point gets inserted
> > > > again - so dis feature is called toggle breakpoint
> > > > its that simple !
>
> > > > wen u run ur program in debug mode (Shift+F5), den d prog execution
> > > > will stop at dat line nd u can continue using F8/F7 etc. after dat
>
> > > > btw - its a MUCH better idea to google for things like these or do sum
> > > > experimentation on a simple program than 2 post them on forums
> > > > u shud post on forums only wen u cant get it on google or by sum
> > > > experimentation
>
> > > > On Sep 7, 12:37 am, vicky <[email protected]> wrote:
>
> > > > > i have started programming in java(netbeans ide) so as to use data
> > > > > structures available easily . i donot understand its debugging
> > > > > features completely i am comfortable with using (F7,F8-stepover/into)
> > > > > options and add-watch otions comfortably but could not understand how
> > > > > to use breakpoints. i also donot know difference b/w (add and toggle
> > > > > breakoint) plz hel me understand and if possible , anybody tell me
> > how
> > > > > and where to use them along with other debugging options like watch-
> > > > > expression. plz help .THANKS IN ADVANCE!!!!!!!!!!!!!!
>
> --
> Lic. Marcelo Diaz.
>
> Web & Java developer - OOP helper...:Phttp://www.linkedin.com/in/marcelogdiaz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-codejam" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-code?hl=en
-~----------~----~----~----~------~----~------~--~---