Posted in Automation, Productivity, tips, visual studio, tagged iisreset, new version release, testing, Visual Studio 2010, w3wp, WADA, worker processes on November 24, 2010|
12 Comments »
I just put onto the Visual Studio Gallery the new version 1.2 of WADA. Mostly, I tried to fix some stability issues when querying the processes after W3WPs crash or an IISRESET occurs.
- WADA 1.1: IISRESET –> “Get Procs” –> No results –> Restart VS 2010
- WADA 1.2: IISRESET –> Refresh Webapp –> “Get Procs” –> Results
This means, if you execute an IISRESET, the worker processes end, and in order to make them run again you should refresh the web application you are testing (this will issue a new W3WP process). Then, just click on “Get Procs” in order to visualize the processes again. This should fix the problem of the annoying VS restart when wanting to see the processes again in WADA.
Fig.1 Multiple selection of processes
Now, there is also the possibility to attach to multiple processes, by simply clicking on each of the desired and then pressing “Attach”.
If you want to simply attach one process, just double click on that process, and the attach will be performed.
Planned future improvements
– Remote debugging
– <your improvement suggestion here>
Thank you all for your suggestions and valuable feedback, and keep sending more of it! This project isn’t finished, yet, and feedback/suggestions are always welcome.
Read Full Post »
Posted in Automation, c#, Debugging, News, Unit testing, visual studio, tagged application pool, attach, attach process, debugger, Debugging, identities, w3wp, web development on September 3, 2010|
Leave a Comment »
Once again about WADA, but this one will be short. I’ve added a new functionality, which is:
- Filter W3WPs by related Identity (as of the application pool)
Thanks to my colleague Patrick for suggesting this functionality!
The UI has changed a little, offering the new drop down for the identities:
The WADA 1.1 download is still available at the Visual Studio Gallery.
Please note: The Application Pool- and Identities-Filters are mutually exclusive.
Read Full Post »
Posted in c#, Debugging, Productivity, Uncategorized, visual studio, tagged attach, attach process, debugger, Debugging, Extensions, IDE, integration, VS 2010, w3wp, web development, worker processes, wpf on September 2, 2010|
18 Comments »
Today I released the first version of the WADA Visual Studio 2010 extension for web developers – it enables you to being able to attach processes to the VS debugger – not simple processes, but the w3wp. I guess, some of you know the issue:
- > 1 application pools
- > 1 w3wp processes
How could we know which process is right for being debugged by us? First, we could use one of the numerous scripts out there (like iisapp.vbs for Windows 2k3), but they provide poor integration into the VS2010 IDE (actually none at all). This is where the strengths of using WADA come into play.
What this Tool Can Do:
- List all w3wp processes, along with the application pool names
- List w3wp processes for a specific application pool
- Attach a selected process to the debugger
Why should I Choose This over Scripts?
- You can remain in the IDE
- Directly attach W3WP to the Debugger (not possible with e.g. iisapp.vbs)
- Filter by Application Pool of Interest (not possible with e.g. iisapp.vbs)
- No more need for manually matching IDs (from script output) against the “Attach to Process” window’s process list
Is it Bulletproof?
No. Not at all. Please be aware that this extension comes in its first version and may contain errors and/or undesired behaviour. It also assumes that you have administrative rights on the machine you are working with it (also VS must be run in administrator mode). Hence, I’d like to emphasize that I cannot be held liable for any usage of the code causing undesired behaviour, loss of data, any damages caused to any soft- or hardware (including source code) of the user. Please do not try it in production environments. It is intended for testing purposes only.
In case you intend to test it, it would be really nice if you provided some feedback on it using the post.
- Go to View -> Other Windows -> WADA Advanced Attacher
- Select Application Pool of Interest (optional, otherwise all will be considered)
- Click “Get Procs” (ensure that “Only W3WP” is checked)
- Select Process from list
- Click “Attach”
WADA 1.0 (Visual Studio Gallery)
Installation is done simply through double-clicking on the downloaded .vsix package.
I hope you enjoy it!
Read Full Post »