Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-04-2005, 11:25 AM
Bounster Bounster is online now
Registered User
 
Join Date: 03-04-2005
Posts: 6
Question Failed Step and Continue in Subroutine pane

I am working with VBP v5.7.

While building the entire project, a step failure occurred in a subroutine step and the build stops. I fixed the problem and conitnue the build but VBP would continue through the subroutines in Subroutine Step pane and not the sequenced steps outlined in the Project pane.

Can someone provide an explaination and/or a work around so the project can continue building as outlined in the project?

Thanks,
Bounster
Reply With Quote
  #2  
Old 03-04-2005, 11:57 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That should work. The following sequence using the attached sample does:

1) Open the project and build (F7). The subroutine step will fail and failure steps get built. Build output:

Building project step 'Project steps'...
Building project step 'call sub'...
Building subroutine step 'Sub1'...
Building subroutine step 'dir something'...
'dirxyz' is not recognized as an internal or external command,
operable program or batch file.

Process completed with exit code 1
Step 'dir something' failed
Building failure step 'fail message'...
step dir something failed with output
'dirxyz' is not recognized as an internal or external command,
operable program or batch file.

Process completed with exit code 1
Build ended.


2) Correct the 'dir something' subroutine step by removing xyz from the command. Build | Start (F7) builds the failed step, returns from the subroutine (skips the 2nd subroutine) and builds the remaining project steps:

--------------------Starting Build: 'testfail.bld'--------------------
Building subroutine step 'dir something'...
Volume in drive C has no label.
Volume Serial Number is A0EE-9B67

Directory of C:\

<some dir output>
Building project step 'log completion'...
a step running after the subroutine
Build successfully completed.


Be careful not to re/start the build in other ways (rebuild selected, rebuild, start from cursor, etc.), as those actions will reset the build call stack.
Attached Files
File Type: bld testfail.bld (1.1 KB, 1718 views)
Reply With Quote
  #3  
Old 03-04-2005, 01:30 PM
Bounster Bounster is online now
Registered User
 
Join Date: 03-04-2005
Posts: 6
Thanks for the quick reply

Bounster
Reply With Quote
Reply


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 08:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.