Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-23-2006, 02:33 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
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.
Reply With Quote
  #2  
Old 01-23-2006, 03:00 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
I was unable to reproduce this behavior. Please ZIP and post/send a reproducible test case. Thanks.
Reply With Quote
  #3  
Old 01-23-2006, 03:25 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
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.
Attached Files
File Type: zip repro.zip (3.1 KB, 845 views)

Last edited by jnapier; 01-23-2006 at 03:37 PM.
Reply With Quote
  #4  
Old 01-23-2006, 04:12 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
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?
Reply With Quote
  #5  
Old 01-23-2006, 04:48 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
No, but if VBP is still running you should be able to undo your changes.
Reply With Quote
  #6  
Old 01-23-2006, 06:09 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
To resolve the problem, make your failure Subroutine Call step a child of a Group step.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



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


Copyright © 1999-2023 Kinook Software, Inc.