-
Mar 15th, 2012, 08:13 PM
#1
Thread Starter
New Member
Monitoring multiple threads
Hello;
I am new to visual basic developing
I am implementing an VB application (visual studio 10) and multiple threads are used in different forms in the program
I am having problem when program is executing and closing the program. I think it could related to the threads.
I would like to know if there is any tool that I can use to monitor and examin threads.
Hopefully, sombody can help me.
Thank You.
hdvn
-
Mar 16th, 2012, 02:37 PM
#2
Re: Monitoring multiple threads
Which version of VS2010 are you using? There are some tools available at the higher level that are not available at lower levels.
Also, what are the problems? Depending on what is happening, you may be able to do this with nothing more than the VS version you have, whatever it happens to be.
By the way, this thread should probably be over in the VB.NET forum. You might PM a moderator and ask them to move it if you see fit. The reason I think it probably belongs over there is that it is a specifically VB.NET question that might get more views over there. This forum has a different set of visitors, though generally a very knowledgeable set. I'm really not at all sure whether the thread would do better here or there.
My usual boring signature: Nothing
-
Mar 18th, 2012, 02:45 PM
#3
Thread Starter
New Member
Re: Monitoring multiple threads
Thank You for your replying to my message.
I am using Visual studio professional version.
The problems I am encountering are:
1. When I run the program to bring up the form by staring debugging, the computer is reboot. This problem occurs inconstently.
2. When I shut down the program by stopping debugging and if I repeat step 1 and step 2 for more than 5 times, the computer is frozen. Entering "control, del, alt" to delete Visual studio task does not help, I have to do hardware reset.
It could be some threads in the program is not closed properly when selecting "stop debugging " option in the menu.
Hopefully, you can tell me what tool that I can use to debug this problem.
Regards,
hdvn
-
Mar 19th, 2012, 02:45 PM
#4
Re: Monitoring multiple threads
The whole COMPUTER reboots??!?!?!?! That is decidedly NOT the way it is supposed to work. Are you getting any error messages? I guess I am wondering whether you might be encoutering a hardware issue such as an overheating CPU, but you'd definitely see a message if that happened.
I have never encountered the issue you are seeing with VS, despite doing some threading, so I'm not of much help with this. Does the "control, del, alt" bring up the task manager, but End Process doesn't seem to do anything? It is vaguely possible that you are running into a deadlock, but that seems very unlikely from your description, as there is no reason why that should happen after five times and not after one time. More likely is that you are working with some kind of shared system resource, possibly some synchronization primitives, which are not being released and are bringing down the whole OS once they run out. Are you working only with Monitors and Synlock, or are you using Mutexes and other, older, synchronization objects?
My usual boring signature: Nothing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|