Problems with debug on a new program.
Not sure when this started and the problem is only occurring on a new project which is still in its infancy state. It does not seem to happen on my older programs.
Granted I have not used this for a while so it can be something silly.
In the App open event handler I have
mdb = New MSSQLServerDatabase MsgBox("Hello") // Only state the connection and the Database, without user name & password it will use the Windows authentication mdb.Host = "xxxxxx.xxxxxx.com" mdb.DatabaseName = "Funnel" mainWindow = New defaultWindow If mdb.Connect Then //proceed with database operations MsgBox("Connected") // The below lines seem to be causing the issue and I do not see why it works once and then the debugger gives up DataFldr = GetFolderItem("").parent.child("Data") //DataFldr is public property if not DataFldr.Exists then DataFldr.CreateAsFolder End If ProcessCmdLine("") // This will also show the main window Else MsgBox("Connection error:" + mdb.ErrorMessage) End If // Set the application to AutoQuit, so if all windows are closed then the application will quit. app.autoQuit = true
I can run the code in debug mode once and then no more when I try to debug a second time nothing seems to happen no response on break points nor any output from the msgBoxes
I uninstalled this version downloaded it fresh and installed again same behavior
Some help would be welcome