debug nested calls
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?
- Mainclass has attribut myClassAttibut
- Mainclass calls Method an passes myClassAttibut; local Name in the method is asuming lv_myClassAttibut
- Now the method creates a subclass an passes lv_myClassAttibut. lv_myClassAttibut gets a new name in the subclass; maybe : lv_myUnknownClassAttibut
- and so on and so on.
many regards and a happy new year