Valter Silva
Valter Silva

Reputation: 16656

How use debug in Eclipse correctly?

I know this could sound as a 'very easy' question, but I really don't understand or found anywhere, how to use the debugger in a Java EE (JSF) application correctly. I mean:

1. open eclipse
2. insert a break point at code
3. click into the 'bug' button 
4. glassfish starts
5. interact into the web site until the break point is activated, right?

Wrong. Nothing happens.. And I tried many different ways and it seems not to be working at all. So I wonder if you guys could me explain how to do it (and I swear I will paint the instructions into the wall =] )

Upvotes: 1

Views: 417

Answers (1)

Serkan Arıkuşu
Serkan Arıkuşu

Reputation: 5619

Right click on your project, Debug As -> Debug on Server (Alt+Shift+D, R)

or press the pull down menu next to 'bug' button, and follow the same menu order.

Upvotes: 2

Related Questions