Debug more than one instance of web page opened simultaneously

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bassem
    Contributor
    • Dec 2008
    • 344

    Debug more than one instance of web page opened simultaneously

    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
    Recognized Expert Expert
    • Oct 2006
    • 9749

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

    -Frinny

    Comment

    • Bassem
      Contributor
      • Dec 2008
      • 344

      #3
      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.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        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 :)

        Comment

        • Bassem
          Contributor
          • Dec 2008
          • 344

          #5
          Alright but debugger will watch only the first page right?

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Nope it should watch all browsers...even if they're different types (eg using FireFox, IE, and Safari)

            Comment

            • Bassem
              Contributor
              • Dec 2008
              • 344

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

              Comment

              Working...