SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 46 | Next

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

Then in
the Properties pane on the right hand side press the small button against
Extensions and MIME Types, enter tml into the Item box, press Add and
then close all dialogs. Now NetBeans will always open page templates in
the editor you've chosen.
Now you know enough to start working on a project of your own. I hope you
enjoyed dealing with NetBeans. Could it be easier, indeed? But how about
debugging an application? Can you believe that debugging a Web application
can be not more difficult than debugging a desktop application? Let's try then.
Chapter 2
[ 33 ]
Debugging in NetBeans
Let's return to the Start.java file, it is probably still opened in the code editor.
Click on the left margin of the code editor against the last line of code (the return
statement) to place a breakpoint there. The code should look then like this:
Press F5, or the second button from the right on the toolbar, to debug the project.
The application startup will begin as usual, but then it will stop at the breakpoint, so
that you can observe the current state of the variables. For this, you can use the Local
Variables view, as shown below:
There are other useful tools available for debugging in NetBeans, but we are not
going to look at them in detail for now, as my aim was just to show how easy it can
be to debug a Web project in a contemporary IDE.


Pages:
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6