Monitor a threads Windows Phone Emulator in Visual Studio - visual-studio-2010

In Windows Phone most of methods run asynchronously in separate thread, when a lot of threads, it is very hard to debug application. How can monitor threads in Windows Phone? Any tool that can give any information about an asynchronous operations.
I use Visual Studio 2010 Ultimate and Emulator Windows Phone.
Thanks in advance.

most of methods run asynchronously in separate thread
They don't.
"most of methods" run asynchronously by the CLR thread pool that only has a few threads.
Unless you've created a lot of threads yourself, which is very bad idea - threads are expensive, and CLR thread pool works great.
How can monitor threads in Windows Phone?
When paused while debugging, VS2010 has "Threads" window.

Related

Windows 7 freeze when Debugging in VS 2013

I have following problem: Sometimes, when I debug a C++ project in VS 2013, my complete Windows freezes! This means:
GUI is updated (i.e. previous opened Task Manager is updating values)
Can not close VisualStudio
Can not close any program (i.e. firefox, the program which is been debugged, outlook, ...)
killing any process via Task Manager not working
Klicking Windows start button not working
Hitting Strg+Alt+Del not working
The only thing I can do is press and holding the I/O Hardware button at my Laptop
The system is a Windows 7 Enterprise x64 with SSD, 16GB RAM and i7 CPU. Symantec Endpoint Protection is installed from our IT. Some of my collegues have the same problem. We think, that this problem only occures if mixed-Debugging with Managed-Code, Unmanged-Code and COM in code is used.
Thanks for your Help!

can't debug wince app

Firstly,my environment is VS2005, and I want to debug app in the wince6.0 device.
I use Mfc.
I can deploy fine (I have linked vs2005 with the device successfully) and run the forms application through network.
Problem: Debugging wont start. It locks up VS2005. It seems to deploy the app fine, then hangs. Eventually it has no response, and vs 2005 is dead.
A little help for me is very important. Thank you!
If a thread gets in a tight loop and starves the RNDIS session, you will lose your activesync connection. VS2005 may very well lock up in this case.
Things you could try:
Does your app run okay when it's not on the debugger?
Can you debug application on the emulator?
Can you debug a trivial app on your device? (just a main function and a printf, for example)
Re-install VS2005 and your SDK
Upgrade to VS2008

Visual Studio 2010 causing computer to lock up

When running the debugger about 50% of the time, Visual Studio 2010 freezes and also locks up my entire machine. I can't even get to Task Manager. Nothing works except my mouse will still move. The only way to recover is to hard boot the machine which takes about 15 minutes each time. I don't have anything else running on my machine at the time except VS, IE 8 (sometimes) and Outlook.
I am running Windows XP on a Lenovo T400 with 3G RAM
Has anyone seen this behavior? If so, how did you fix it?
Thanks,
Rhonda
You don't mention what language your app is but I have run into this with our C++/CLI application on occasion. To avoid it, I changed the Project properties / Debugger and specify "Native" or "Managed" explicitly for the debugger type. The default of "Auto" can get confused.
Also, if you use Application Verifier from Microsoft, I have had VS hang while AV was configured to verify our .exe. To avoid this, we have to launch the app under the debugger as "Native".

Visual Studio 2010 freezes when debugging x64 application

Recently, my coworker and I upgraded our development environment to Win7 x64 with VS2010 Pro. Our application is specifically targeted at x64 platform.
The problem we are encountering is during debugging, when attempting to step through the code (F10), at least 50% of the time VS will simply lock up the application being debugged. The IDE has the appearance of having pressed F5, but the application is not responsive and we have to force stop the application.
Our application is a Client (GUI) and a Server that communicate through .NET remoting.
This is starting to directly affect our productivity, so if anyone has any ideas what may be causing this, please let me know.
There is an outside chance that it might be the debug symbols loading. Check the status bar I think it tells you when the symbols are loading.
This may be a moot point, but have you installed the VS 2010 service pack 1?
There are various bugfixes related to debuggers included.
http://support.microsoft.com/kb/983509
I had a similar problem. it turned out that a higher level program had a different run-time library (multi-threaded debug dll), while my app was simply a multi-threaded debug. Once I converted mine to a multi-threaded debug dll, the freeze stopped happening.

Slow User Interface in Microsoft Test Manager 2010

Has anyone else experienced problems with the speed of the UI when using Microsoft Test Manager 2010? Most of the time when typing it is extremely slow, and after adding a step and pressing enter it takes anywhere from 10 to 20 seconds to complete saving the step and moving to the next one. A co-worker of mine has the same problem. It also seems to crash randomly. However sometimes the program runs at a reasonably decent speed.
Visual Studio 2010 runs fine on my machine and other WPF applications work great.
I am using Windows XP SP3, 2GB RAM, 3.4GHZ
The performance is not so good in Microsoft Test Manager because it does a lot of things in the background.
2 ways to speed up things:
Close all other applications during recording (they affect the recording a lot)
Disable all trace output listeners that you don't need (e.g. System information is not very helpful)

Resources