Android Question Calling sub

gigi0ne

Member
Licensed User
Longtime User
Hello everybody..

there is a possibility of knowing that sub called the sub being debugged

Thank you
 

BlueVision

Active Member
Licensed User
Longtime User
Not sure if I understand correctly. You want to stop when entering the sub and then step forward for debugging?
If so, make a click with your mouse left beside the first line of code within the sub beside the line number (a red dot appears left from the number), then switch to debug mode in the controls. Run the app in debug mode. If entering the sub, the program will stop exactly at the line with the red dot without executing the code of the line. Then you can step through your program line by line and control variables at runtime.
 
Upvote 0

gigi0ne

Member
Licensed User
Longtime User

No
I want to know which routine called the routine I am debugging, but I saw that in the ide there is a special window ...
thank you
 
Upvote 0

Serge Bertet

Active Member
Licensed User
As explained by BlueVision, put a breakpoint in the called sub then hit F10 when reached, you will then the found the calling sub.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…