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)
-   -   Failed Step and Continue in Subroutine pane (https://www.kinook.com/Forum/showthread.php?t=939)

Bounster 03-04-2005 10:25 AM

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

kinook 03-04-2005 10:57 AM

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


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.

Bounster 03-04-2005 12:30 PM

Thanks for the quick reply

Bounster


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


Copyright © 1999-2023 Kinook Software, Inc.