This is an automated email from the ASF dual-hosted git repository.

geertjan pushed a commit to branch geertjanw-patch-4
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 174e900e60c1936336f06a14c3f3c74780feed52
Author: Geertjan Wielenga <geertjan.wiele...@oracle.com>
AuthorDate: Sat May 4 16:15:12 2019 +0200

    Tweaking 'Using the Visual Debugger in NetBeans IDE'
---
 .../src/content/kb/docs/java/debug-visual.asciidoc | 22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)

diff --git a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc 
b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
index 46353f1..cf55d47 100644
--- a/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
+++ b/netbeans.apache.org/src/content/kb/docs/java/debug-visual.asciidoc
@@ -39,31 +39,17 @@ In this tutorial you will use the Anagram Game sample 
application, a Java deskto
 
 1. Choose File > New Project from the main menu (Ctrl-Shift-N; ⌘-Shift-N on 
Mac) to open the New Project wizard.
 2. Select Anagram Game in the Samples > Java category. Click Next.
-3. Specify a location for the project. Click Finish.
-
-When you click Finish, the IDE creates the project and opens the project in 
the Projects window.
-
-[start=4]
-4. Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session.
-
-Alternatively, right-click the project node in the Projects window and choose 
Debug.
-
-When you start the session, the IDE will launch the Anagram Game application 
and open the Debugging window.
-
-For more on running the debugger, see 
link:http://www.oracle.com/pls/topic/lookup?ctx=nb8000&id=NBDAG798[+About 
Running and Debugging Java Application Projects+] in _Developing Applications 
with NetBeans IDE_.
-
-[start=5]
+3. Specify a location for the project. Click Finish. When you click Finish, 
the IDE creates the project and opens the project in the Projects window.
+4. Click the Debug button in the toolbar (Ctrl-F5; ⌘-F5 on Mac) to start the 
debugging session. Alternatively, right-click the project node in the Projects 
window and choose Debug. When you start the session, the IDE will launch the 
Anagram Game application and open the Debugging window.
 5. Choose Debug > Take GUI Snapshot from the main menu.
 
-When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI and 
will open the snapshot in the main window.
+When you choose Take GUI Snapshot, the IDE will take a snapshot of the GUI and 
will open the snapshot in the main window, as shown below:
 
 [.feature]
 --
 image::images/debug-fullscreen.png[role="left", 
link="images/debug-fullscreen.png"]
 --
 
-In this guide to the visual debugger you will not use the Debugging window.
-
 == Working with the Visual Debugger
 
 The GUI snapshot is a visual debugging tool that can help you locate the 
source code for GUI components. The source code for GUI components can 
sometimes be difficult to locate and the snapshot provides a way for you to 
locate the code based on the GUI instead of searching through the code. You can 
select components in the snapshot and invoke tasks from the popup menu to view 
the source code for the component, show the listeners and set breakpoints on 
components.
@@ -88,7 +74,7 @@ image::images/debug-navigator.png[]
 
 When you choose Go to Component Declaration the IDE opens the source file in 
the editor and moves the cursor to the line in the code where  ``guessButton``  
is declared.
 
-image::images/debug-gotodeclaration.png[title="Line of code where component is 
declared"]
+image::images/debug-gotodeclaration.png[]
 [start=3]
 3. Right-click the Guess button in the snapshot again and choose Go to 
Component Source.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to