I have registered a event for PBREAK with below cmd:
'GLOBALON PBREAK DO "do_something.cmm"'
And this breakpoint will be hit too frequently & also in large number.
I have added 'ENDDO' at end of the 'do_something.cmm' script but problem is there is a 'GO' cmd before 'ENDDO' cmd, because of which 'ENDDO' is not being executed after 'GO'. So, stack is not cleared & also as per my observation with 'PMACRO' window, there were many instances of the above script which were not cleared.
If I remove 'GO', processor will not come out of breakpoint.
below are my needs now:
-> how to execute some cmds in cmm script after 'GO' cmd got executed.
or
-> Is there any options available with 'GLOBALON' cmd to bring processor out of breakpoint after script got executed
"PRACTICE Stack Overflow" when using GLOBALON PBREAK DO "do_something.cmm" - Community / Other Use Cases - Lauterbach Support
"PRACTICE Stack Overflow" when using GLOBALON PBREAK DO "do_something.cmm" Awaiting Agent
Comment (1)
Wafi Jmal
Add a comment
ID-0
Hello,
In this case you can replace the DO command with a JUMPTO inside a script,for example:
GLOBALON PBREAK JUMPTO do_it
STOP
do_it:
...
Go
STOP
This article may also help you
https://support.lauterbach.com/kb/articles/practice-stack-overflow-when-using-break-set-address-cmd-do-script-cmm-resume
Best Regards
Wafi