I am a new PB user and am looking for assistance in selecting the best PB debugger. I have tried the PB and RAD Developer Debuggers but nether allow me to view my array of UDT. I will save hours and hours by being able to step through the array Raw Data or at a minimum view a selected complete Raw Data record in the debugger.
I understand that this question is mostly answered by an opinion (best PB debugger?) but I am hoping that you folks that have years of experience also know the best tools.
Thanks Jim
Type RawData
sDate As Asciiz * 12
sTime As Asciiz * 6
lData1 As Long
lData2 As Long
End Type
Global rd () As RawData
Function PbMain () As Long
Dim rd (1000000) As RawData
Local sDate As String
Local sTime As String
Local f Data1!, f Data2!
Local lCnt0 As Long
Local hFile As Integer
hFile = FreeFile
Open "D:\Projects\~PowerBasic\Data.csv" For Input As hFile
lCnt0 = 0
While IsFalse Eof(hFile)
Input# hFile, sDate, sTime, f Data1!, f Data2!
rd (lCnt0).sDate = sDate
rd (lCnt0).sTime = sTime
rd (lCnt0).l Data1 = f Data1! * 100
rd (lCnt0).l Data2 = f Data2! * 100
lCnt0 = lCnt0 + 1
Wend
Close hFile
End Function
I understand that this question is mostly answered by an opinion (best PB debugger?) but I am hoping that you folks that have years of experience also know the best tools.
Thanks Jim
Type RawData
sDate As Asciiz * 12
sTime As Asciiz * 6
lData1 As Long
lData2 As Long
End Type
Global rd () As RawData
Function PbMain () As Long
Dim rd (1000000) As RawData
Local sDate As String
Local sTime As String
Local f Data1!, f Data2!
Local lCnt0 As Long
Local hFile As Integer
hFile = FreeFile
Open "D:\Projects\~PowerBasic\Data.csv" For Input As hFile
lCnt0 = 0
While IsFalse Eof(hFile)
Input# hFile, sDate, sTime, f Data1!, f Data2!
rd (lCnt0).sDate = sDate
rd (lCnt0).sTime = sTime
rd (lCnt0).l Data1 = f Data1! * 100
rd (lCnt0).l Data2 = f Data2! * 100
lCnt0 = lCnt0 + 1
Wend
Close hFile
End Function
Comment