Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   All Global SubRoutines Called (https://www.kinook.com/Forum/showthread.php?t=1488)

jnapier 01-23-2006 03:33 PM

All Global SubRoutines Called
 
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

1 Attachment(s)
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.


All times are GMT -5. The time now is 10:16 AM.


Copyright © 1999-2023 Kinook Software, Inc.