12-31-2014 10:51 AM
Hi,
we got very complex routines wich call subroutines, other classes and so on.
At some unknown point in any unknown method a field/attribute gets changed.
I do only know the fieldname in the mainroutine; so I can set a watchpoint. But when the runtime reaches the watchpoint the fieldvalue was already set in any unknown subroutine. How can I find out which subroutine/method/function module is really chaning the fieldvalue?
Example:
many regards and a happy new year
mario
12-31-2014 11:17 AM
Hi Mario,
You have to do the debug the process but In faster way through F7 & F6 keys.
or either.
Open you initial code in system, and drill out the programs base on your variable and put the break point based that.
regards.
Praveer.
12-31-2014 11:26 AM
Hi,
Set debugging point inside the class method and create watchpoint for local attribute which is changing your main attribute.
12-31-2014 2:34 PM
Hi,
sorry. This is really NO helpfull answer. I am looking for a smart approach.
Thanks Regards
Mario
12-31-2014 4:56 PM
Hi all,
i did a little research. I found the feature called : ABAP debugger scripts.
I don't know if this really can solve my problem.
If I know, that the wrong value in myClassAttibut is e.g. <wrongValue>
Is it possible in the debugger script to watch every variable/attribute and stops if any of them gat the value <wrongValue> ?
With other words: a generic watchpoint not on the variable/attribute but on a value!
This would be very helpfull.
Many regards
Mario