Connecting Tech Pros Worldwide Help | Site Map

Debug more than one instance of web page opened simultaneously

  #1  
Old 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
  #2  
Old June 16th, 2009, 04:39 PM
Frinavale's Avatar
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
  #3  
Old 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.
  #4  
Old June 17th, 2009, 05:53 PM
Frinavale's Avatar
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 :)
  #5  
Old 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?
  #6  
Old June 17th, 2009, 06:06 PM
Frinavale's Avatar
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)
  #7  
Old 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!
Reply