on 02-18-2015 12:39 PM
Hello Experts,
I am new to NWDS and I am facing challenges when trying to debug EAR file from NWDS 7.3 SP 12. I've created my EAR file from DTR perspective by clicking on create project from DTR repository. I've added the SAP System in SAP Management Console Perspective and I've activated debug mode on both my servers. I've also started the debug proxy.
I've placed break points in my code. But none of the breakpoints are getting triggered.
Please guide me if I'm missing something. My objective is to find out the code flow. We have portal component which I found in the EAR file under portalapp.xml. When I opened that component I saw the Class name. I was to able to locate the source java file. But I want to know which function is getting triggered after entering this java file as there is no explicit call to any method inside this java file. The details available in my portalapp.xml for this component (GetPPLinksViaJson) is
My questions are:
1) Does NWDS debugging work the same way as ABAP debugging i,e Will the breakpoint be triggered when I run my portal application from browser.
2) If not in debugging is there any other way to check the flow of code for this scenario???
3) And does portalapp.xml instantiate the class which is given as ClassName under Component-Config once this component is called (Asking this to know if constructor would be called)???
4) Is it possible to debug a WAR file??
Eagerly awaiting your response.
you need to get some portal knowledge to understand which method will be called, no need to debug, i think.
Debugging Java EE Applications - Developing Java EE 5 Applications - SAP Library
1. very similar
2. print log in default trace
3 portal framework handle that, i think
4.yes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
I read the link which you gave and understood that when a new Portal Application Object is created the response should be placed inside doContent() method. But in my case I do not find doContent() method. Instead we have the following methods.
getBuild()
getIviewGuid()
getLaunchHomeEvent(Idocument odocument)
getLaunchHomeEvent(Idocument odocument, IMessageQueue omessagaequeue )
In these four methods I would like to know which method is getting called once this component is used.
Regards,
Karthikeyan.K
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.