Forums de discussion

Breakpoints ignored in Eclipse?

thumbnail
Kravchenko Dmitry, modifié il y a 13 années.

Breakpoints ignored in Eclipse?

Regular Member Publications: 139 Date d'inscription: 04/10/10 Publications récentes
How to debug liferay portlets in Eclipse? I have breakpoints totally ignored, while server is working, "Debugging" flag is indicated and protlet is started with "Debug As..." command.

What can prevent debugger work?
thumbnail
Mika Koivisto, modifié il y a 13 années.

RE: Breakpoints ignored in Eclipse?

Liferay Legend Publications: 1519 Date d'inscription: 07/08/06 Publications récentes
Check that your project is in the Source tab in Debug Configurations. If it's not then the breakpoints are ignored.
thumbnail
Minhchau Dang, modifié il y a 13 années.

RE: Breakpoints ignored in Eclipse?

Liferay Master Publications: 598 Date d'inscription: 22/10/07 Publications récentes
Additionally, if you aren't running the Tomcat server from within Eclipse, make sure that your Tomcat instance is configured for debugging and your Eclipse is configured to hook into it, as described on the Tomcat Wiki.
thumbnail
Kravchenko Dmitry, modifié il y a 13 années.

RE: Breakpoints ignored in Eclipse?

Regular Member Publications: 139 Date d'inscription: 04/10/10 Publications récentes
Thank you, it started to work!

It is stange although: why it was so? While adding your option, I saw that there was "Default" entry in "Sources" tab, which, in turn, was containing some names of my project. Why wasn't it work w/o explicit setup?

Directly speaking: why Eclipse does not execute a direct order of "debug on server" which it is given? What is the sense of "debug" command if the source doesn't set in the tab?
kavya m, modifié il y a 7 années.

RE: Breakpoints ignored in Eclipse?

New Member Publications: 15 Date d'inscription: 08/07/16 Publications récentes
Hi All,
Am using liferay-portal-6.2-ce-ga2 with eclipse IDE. I have created a new portlet using view.jsp & edit.jsp page, Both pages are ceated under docroot . When am debugging edit.jsp page using break points on server. Its not working.

my Question is:
Is it possible to debug jsp page using break points in eclipse.? What are the steps?

can any one help me with step-by-step