Tried your code 8 times, debug worked every time. On the rare occasion that I've had strange problems with debug on this machine, it was always with the 64 bit version of pb. Other people may not have any problems though.
Tried the way below, still debugs. I am always using the x86 version of pb as I never have any strange problems like this with it. That's my personal experience though.
Code: Select all
UseSQLiteDatabase()
EnableExplicit
Define.s Sql.s = "Select count(PersonName) As RowCount from Test_names" ; SQL string For commands
Define.s DBName.s = "Test.sqlite" ; Database name
Debug DBName
Debug Sql
Also tried the below, still debugs on this machine
Code: Select all
UseSQLiteDatabase()
EnableExplicit
Global.s Sql.s = "Select count(PersonName) As RowCount from Test_names" ; SQL string For commands
Global.s DBName.s = "Test.sqlite" ; Database name
Debug DBName
Debug Sql