View Full Version : All Global SubRoutines Called
jnapier
01-23-2006, 03:33 PM
Im getting some weird results with Global SubRoutines. I start all of my Global SubRoutines with a Group step and then indent the steps of the subroutine underneath the group. The problem is that the subroutines are falling through to other sub routines in the Global Sub Routines step. Note that I have only seen this happening when a global sub routine is called from a failure step.
kinook
01-23-2006, 04:00 PM
I was unable to reproduce this behavior. Please ZIP and post/send a reproducible test case. Thanks.
jnapier
01-23-2006, 04:25 PM
Heres the repro. It contains the global steps as well. Just run the complete build and you will see that the failure step calls a global sub routine and then all the global sub routine steps beneath the called one will also be called. Please let me know if you need anymore info.
jnapier
01-23-2006, 05:12 PM
I just realized that I wiped out all of my global sub routine steps when I created this repro for you. Is there a backup or history stored by visual build anywhere?
kinook
01-23-2006, 05:48 PM
No, but if VBP is still running you should be able to undo your changes.
kinook
01-23-2006, 07:09 PM
To resolve the problem, make your failure Subroutine Call step a child of a Group step.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.