Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Visual studio crash on stopping debug multithead app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mtczx232@yahoo.com - 22 Jul 2007 16:26 GMT
have some one with same experience?
Cezary Nolewajka - 23 Jul 2007 14:08 GMT
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

> have some one with same experience?
buu - 23 Jul 2007 16:11 GMT
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.

> Hi,
>
[quoted text clipped - 12 lines]
>
>> have some one with same experience?
buu - 23 Jul 2007 16:57 GMT
sorry, wrong topic

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.