[Gambas-user] Debug Watch Crash
Benoit Minisini
gambas at ...1...
Sat Apr 3 01:46:20 CEST 2004
On Thursday 26 February 2004 14:41, Dimitri Bellini wrote:
> 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
>
I succeeded finally in fixing that bug! I'm happy :-)
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list