Debug more than one instance of web page opened simultaneously 
June 15th, 2009, 09:47 PM
| | Familiar Sight | | Join Date: Dec 2008
Posts: 200
| | |
How can I debug a web site when my test target more than one copy of the same web page that change in shared data.
Ex: Default.aspx has a static member.
Regards,
Bassem
| 
June 16th, 2009, 04:39 PM
|  | Site Moderator | | Join Date: Oct 2006 Location: The Great White North :)
Posts: 4,940
Provided Answers: 8 | | | re: Debug more than one instance of web page opened simultaneously
Could you please rephrase this question?
I don't understand your problem.
-Frinny
| 
June 17th, 2009, 05:50 PM
| | Familiar Sight | | Join Date: Dec 2008
Posts: 200
| | | re: Debug more than one instance of web page opened simultaneously
Hey Frinny, thanks for reply.
I meant that I have a web site. When debug start only one page loads and debug going on.
That not the case. I want to load more than one page, why? because these pages have a shared data where they affect each other. So I test the effect of one on others during debugging. Consider the case of producer consumer.
| 
June 17th, 2009, 05:53 PM
|  | Site Moderator | | Join Date: Oct 2006 Location: The Great White North :)
Posts: 4,940
Provided Answers: 8 | | | re: Debug more than one instance of web page opened simultaneously
Start debugging and one page will open.
Copy the URL in the address bar, open another browser, paste the URL into it's address bar... Voila! More than one browser connected to the website for debugging purposes :)
| 
June 17th, 2009, 05:56 PM
| | Familiar Sight | | Join Date: Dec 2008
Posts: 200
| | | re: Debug more than one instance of web page opened simultaneously
Alright but debugger will watch only the first page right?
| 
June 17th, 2009, 06:06 PM
|  | Site Moderator | | Join Date: Oct 2006 Location: The Great White North :)
Posts: 4,940
Provided Answers: 8 | | | re: Debug more than one instance of web page opened simultaneously
Nope it should watch all browsers...even if they're different types (eg using FireFox, IE, and Safari)
| 
June 29th, 2009, 06:15 PM
| | Familiar Sight | | Join Date: Dec 2008
Posts: 200
| | | re: Debug more than one instance of web page opened simultaneously
You are right again!
It likes breakpoints break server execution, not clients acts.
I tested it using multi-threading and multi-webpages requests and you were right in all.
Thanks Frinny!
|  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 225,662 network members.
|