Connecting Tech Pros Worldwide Help | Site Map

Debug more than one instance of web page opened simultaneously

Familiar Sight
 
Join Date: Dec 2008
Posts: 202
#1: Jun 15 '09
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
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,077
#2: Jun 16 '09

re: Debug more than one instance of web page opened simultaneously


Could you please rephrase this question?
I don't understand your problem.

-Frinny
Familiar Sight
 
Join Date: Dec 2008
Posts: 202
#3: Jun 17 '09

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.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,077
#4: Jun 17 '09

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 :)
Familiar Sight
 
Join Date: Dec 2008
Posts: 202
#5: Jun 17 '09

re: Debug more than one instance of web page opened simultaneously


Alright but debugger will watch only the first page right?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,077
#6: Jun 17 '09

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)
Familiar Sight
 
Join Date: Dec 2008
Posts: 202
#7: Jun 29 '09

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!
Reply