cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging DynPage/JspDynPage application

former_member182374
Active Contributor
0 Kudos

Hi All,

I'm trying to debug DynPage/JspDynPage.

I followed this thread:

and this weblog:

When I try to debug I see that the application's threads are running but the the browser doesn't open and the application doesn't stop at the breakpoints.

No error messages are displayed.

What do I need to config in order to debug portal applications?

Thanks,

Omri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Omri Cohen,

Check whether you have given the proper connection properties.

And switch your NWDS to debug perspective.

And see the first screen shot of the weblog.ahve you done it?

have you checked Debuggable and Enable Debug check boxes?

Check it and let me know if it doesnt solve your problem.

Regards,

Karthick

former_member182374
Active Contributor
0 Kudos

Hi Karthick,

I configured my connection exactly as explained in the weblog.

The Debuggable and Enable Debug are checked.

Also, when I switch to debug prespective I can see that the threads are running however the browser's window doesn't being opened and it seems that the application is not running.

If you have any idea...

Thanks,

Omri

Former Member
0 Kudos

Hi Omri Cohen,

Put the break points in your code(NWDS)

Try to run your application From portal.

Now the application should stop at the break point.

Regards,

Karthick

former_member182374
Active Contributor
0 Kudos

Hi Karthick K Eswaran,

What do you mean by "Try to run your application From portal"?

If I'll run the application from the portal, what is the difference between me and any other user?

Isn't the debug session needs to be opened from the NWDS?

Thanks,

Omri

Former Member
0 Kudos

Hi Omri,

Integrate your webdynpro application into portal..

See this link..

http://help.sap.com/saphelp_nw04/helpdata/en/d8/6ee03fc2269615e10000000a155106/frameset.htm

Then try to run your application.

Regards,

Karthick

former_member182374
Active Contributor
0 Kudos

Hi Karthick,

I don't have problem debugging Web Dynpro applications.

The problem is with DynPages/JspDynPages applications.

Omri

Former Member
0 Kudos

Hi Omri,

Once you start your debugging session can you launch your component from NWDS by opening the portalapp.xml and clicking on the component name? Obviously not in the editing view, in the 'Overview' view of portalapp.xml.

Give that a go.

Best regards,

Patrick.

former_member182374
Active Contributor
0 Kudos

Hi Patrick,

I tried running the application from portalapp.xml and I got error (see attached pictures).

http://img69.imageshack.us/img69/9522/debugprespective7hq.jpg

http://img83.imageshack.us/img83/4231/remotedebug8zt.jpg

Do I need to add some entries in the portalapp.xml?

(The debug session is working because I can see the threads are running).

Thanks,

Omri

Former Member
0 Kudos

Hi Omri,

Have you defined the portal in NWDS preferences?

Window -> Preferences -> SAP Enterprise Portal

Make sure that you have the portal defined there.

Patrick.

former_member182374
Active Contributor
0 Kudos

Hi Patrick,

The portal is defined in the Window -> Preferences.

Omri

Former Member
0 Kudos

Hi Omri,

The only other thing I can think of is that you should start the debug session from NWDS then just open the portal and run that iView yourself.

The debugging should work if you do that.

Best regards,

Patrick.

former_member182374
Active Contributor
0 Kudos

Thanks Karthick & Patrick,

Problem solved.

Answers (0)