Kinook Software Forums

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-18-2009, 02:50 PM
dalevine dalevine is online now
Registered User
 
Join Date: 04-23-2009
Posts: 14
Single Stepping is broken

I use some VB script commands to parse a file and perform an action on each line in the file. In v6 this worked both when it was run and when I single stepped through it.

In version 7.2, when I run the VBP it appears ok, but when I single step it misbehaves.

It appears that is skips every other line in the file, and it errors out when it passes the end of the file.

The code looks like this:

Set Macro: defines FILELIST

Script step - opens File:
Application.Macros(vbldMacroTemporary).Add "FILE", vbld_FSO().OpenTextFile("%FILELIST%")

Group:
while vbld_TempMacroObj("FILE").AtEndOfStream] is false

Set Macro:
[vbld_TempMacroObj("FILE").ReadLine()]
LogMessage:
File : %FILENAME%


Am I doing something wrong? If not, is there a workaround to this?
Reply With Quote
 

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 07:09 AM.


Copyright 1999-2019 Kinook Software, Inc.