Re: Visual studio crash on stopping debug multithead app



in main module, I created sub for testing like
Public Sub test()
Dim oConn As Oracle.DataAccess.Client.OracleConnection

oConn = New Oracle.DataAccess.Client.OracleConnection("User
ID=user;Password=user;Data Source=XE;Statement Cache Size=16")
oConn.Open()
End Sub


and everything is ok.
previously, I had the same statement in one library (inside the solution),
and everything was also ok.
now, when I start an application (as an standalone, rebuilded), it's also
all ok.

what did I changed?

there is a main form that I show now, and I call another form for choosing
the database, and after that I create a selected db connection and load
data.


this is in main form:

Private Sub frmMain_Shown(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Shown
fSelectDB = New frmSelectDB
fSelectDB.jClearList()
For x As Int32 = 1 To oSettings.DB_Count
fSelectDB.jAddItem(x, oSettings.Databases(x).DBName)
Next
'fSelectDB.MdiParent = Me
fSelectDB.TopMost = True
fSelectDB.ShowDialog()
Timer1.Start()

End Sub


this is in frmSelectDB:
Private Sub cmdSelect_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdSelect.Click
If Me._lista.SelectedIndex > -1 Then
oSettings.OpenDB =
Val(Mid$(Me._lista.Items(Me._lista.SelectedIndex).ToString, 1, 1))
LoadDB()
End If
End Sub

and there is LoadDB to load the data.
program stopps in LoadDB, there is a call to a library where is opening
database (in opening connection everything stops).


How do I stop debuggin? I simply need to restart computer (sometimes with
reset), because cpu usage goes to a maximum.


"Cezary Nolewajka" <cezary.nolewajka@xxxxxxxxxxxxx> wrote in message
news:uaMsLqSzHHA.464@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have been recently working on quite complex multithreaded app and was
heavily debugging the application.

I haven't experienced any problems with that.

Can you give any more details? What is so peculiar about your application?
How do you stop debugging?

Best regards,
Cezary Nolewajka

Consultant | Microsoft Services | Microsoft | Poland

<mtczx232@xxxxxxxxx> wrote in message
news:1185117977.012272.7460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
have some one with same experience?




.



Relevant Pages

  • Re: ASP login form connecting SQL
    ... > sub Application_OnStart ... > set oRS = oConn.execute("select compound from compounds, ... > Dim oConn, oRS, strSQL ... > redim aryTemp(maxrow, maxcol) ...
    (microsoft.public.inetserver.asp.db)
  • Re: Help with global.asa & sql database
    ... This is to hopefully replace multiple forms of connecting to the database with multiple include files. ... Sub Application_OnStart ... Microsoft OLE DB Provider for ODBC Drivers error '80004005' ...
    (microsoft.public.inetserver.asp.db)
  • Re: UPDATE sql statement
    ... Dim oConn As ADODB.Recordset ... >> Tim. ... >> Sub Tester() ... >> Dim lngRecs As Long ...
    (microsoft.public.excel.programming)
  • Re: How Do I Debug a Class Constructor?
    ... debugging extremely frustrating. ... way that avoids use of Sub New. ... this attribute will allow you to step through the InitializeComponent ... When I use a form as the startup object, ...
    (microsoft.public.dotnet.languages.vb)
  • Unable to debug at all! Help !
    ... When I place my cursor somewhere in the sub and use the CTRL-F8 key, ... The same behavior occurs if I use the debugging menu instead of the keys. ... Dim myText As String ... If I press the command button on the form it runs fine. ...
    (microsoft.public.access.formscoding)