Finding the process id of my IE session to debug in VS 2008?

Just switching from eclipse to vs 2008 for javascript debugging makes me feel right at home since I am using vs 2008 for C # and when I come to "application to process" I see 3 iexplorer processes and 2 of them with "script ",

I only have 1 IE window open.

How can I determine which process ID I need to use? Somebody knows?

thanks

+1


a source to share


2 answers


If your application is only open in a single IE window, you will see 2 IExplore processes. One will have a title bar which will be the container and not the one you are interested in. You will need to connect to a different process.

Of course, this can be somewhat limiting if you also want other useful sites to be loaded and you prefer IE for this (I load sites like SO in FF, but MSDN, at least in the past, has worked better in IE ).



The sysinternal tool, useful here, TcpView , by watching each iexplore process connect to you can determine which process you want. Please note that you need to do this with short execution time of any navigation, IE will lose idle connections after a while.

+1


a source


Use Process Explorer and you will see 2 processes (one nested in the tree that is your page). You see 3 because you have more tabs (IE8 uses one process per tab), so just close the rest of the tabs and debug one page at a time.



0


a source







All Articles