[Gambas-user] Debug Watch Crash
Dimitri Bellini
dimitribellini at ...69...
Thu Feb 26 14:41:18 CET 2004
Dear Benoit
Thanks for great improvement Gambas Editor !!!
I have made this simple function to query mysql and return the data in
Array...
------------------------------------------------------------
PUBLIC SUB CliUsed()
DIM sQuery AS String
DIM rData AS Result
DIM sData AS String
DIM id AS Integer
DIM aCliUsed[100,3] AS String
sData=txtDate.text
sQuery="select IDCust,AnaCust from log join Customer on
log.cardID=Customer.IDCust where callstart like '%"& sData &"%' group by
source"
rData = $hConn.Exec(sQuery)
IF rData.Available THEN
DO
aCliUsed[id,1]= rData["cardID"]
aCliUsed[id,2]=rData["AnaCust"]
INC id
LOOP UNTIL (rData.MoveNext()<> true)
ENDIF
CATCH
Message.Error(Error.Text)
END
------------------------------------------------------------------
But when i try to debug using Step by Step mode and put in Debug Watch the
array in mode:
aCliUsed[id,1] -- the first work and i see the value
add the second
aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by raising
signal #11" and say to report this bug..
Thanks in advance
Dimitri Bellini
More information about the User
mailing list