Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use watch point for a Field symbol?

Former Member
0 Kudos

Hello,

Is it possible to use watch point for a Field symbol?

Regards,

Umasankar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Field symbol is used to for dynamic usage. Just like pointers concept in "C".It is nothing more than a pointer to a memory area

A field-symblo is a pointer u can dynamically assign to a field.

Memory is allocated to a field-symbol during runtime only.

Assign stmt is used to assign a field to it.

ex:

data f1(3) value 'XYZ'.

FIELD-SYMBOLS <f>.

Assign f1 to <f>.

<b>Reward points</b>

Regards

6 REPLIES 6

Former Member
0 Kudos

Hi,

No it is not possible.

Reward if useful!

0 Kudos

Hi,

No Its not possible as you will not know the Concrete TYPE of the FILED-SYMBOL.

Regards,

Sesh

0 Kudos

Hi Sesh... I think watchpoint is not TYPE dependent...

Regards

Prax

Former Member
0 Kudos

Hi Uma..

I tried it... and it is possible to use watchpoint for field-symbols once they are assigned...

because to create watchpoint ,, u need to assign it first then u can chagne the value of field-symbols in ur program anytime... and in debugger.. when that value is changed.. watchpoint is reached....

I would suggest u to try it...

Reward if usefulll

Regards

Prax

Former Member
0 Kudos

Hi,

Field symbol is used to for dynamic usage. Just like pointers concept in "C".It is nothing more than a pointer to a memory area

A field-symblo is a pointer u can dynamically assign to a field.

Memory is allocated to a field-symbol during runtime only.

Assign stmt is used to assign a field to it.

ex:

data f1(3) value 'XYZ'.

FIELD-SYMBOLS <f>.

Assign f1 to <f>.

<b>Reward points</b>

Regards

Former Member
0 Kudos

Watch point can be used for field symbols only after Assign statement.

Thanks for your valuable suggestions.

Regards,

Umasankar.