NETBEANS DEBUGGER - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

NETBEANS DEBUGGER

Description:

NETBEANS DEBUGGER To create a breakpoint place the cursor at the desired location. Go to the Run - toogle line Breakpoint or Ctrl +F8 . It creates the breakpoint on ... – PowerPoint PPT presentation

Number of Views:80
Avg rating:3.0/5.0
Slides: 10
Provided by: Hari172
Learn more at: https://www.cse.unt.edu
Category:

less

Transcript and Presenter's Notes

Title: NETBEANS DEBUGGER


1
NETBEANS DEBUGGER
2
  • To create a breakpoint place the cursor at the
    desired location.
  • Go to the Run -gt toogle line Breakpoint or Ctrl
    F8 . It creates the breakpoint on the line where
    cursor is.
  • The following line will be highlighted in pink to
    show that the breakpoint has been set.

3
(No Transcript)
4
  • The other way is
  • Click on the run -gt new breakpoint.
  • Set the method, class or thread in the type of
    breakpoint you want to set.
  • When debugging, Java will stop at the breakpoint
    and let you examine the program in progress.

5
  • For Debugging the main project.
  • Run -gt debug Main Project or Ctrl F5

6
  • You can stop debugging by clicking on this button
  • The debugger the window consists of breakpoints,
    local variables and watches etc.
  • These let you examine the values of variables
    line by line, as the program runs

7
  • Then you have operations for stepping line by
    line through the program.

8
  • Window -gt debugging -gt sources or alt shift F8
  • Check on the required on the box in the sources
    window

9
  • Watches can be made by Run -gt new watch.
  • Or
  • Click on the watches in Debugger window - gtselect
    a existing tab and right click -gt new watch.
    This lets you specify a variable and see the
    value at each line.
Write a Comment
User Comments (0)
About PowerShow.com