cancel
Showing results for 
Search instead for 
Did you mean: 

Context node values in debug mode

Former Member
0 Kudos

Hi all,

It seems to me that this question is very simple but I can't find the solution !

I set up my was to run in debug mode, then I launch my application in debug from NWDS.

There, I want to look at some values in my custom controller context to see if I send correct data to my Bapi. Unfortunately, in the debug mode, I can find a huge number a data but not the values I'm searching.

I can see information about data types, I see all of my input and output data, but can't find the value of them !

Am I missing something ?

Sylvain

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sylvain,

1. Write a code something similar to this in your code

String strAttr1Value = wdContext.currentContextElement().getVaAttribute1Value();

2. Set break point to the above code.

3. When you execute it in the debug mode you will be able to get the data.

Hope this helps.

Regards,

Santhosh.C