Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Debugging gone crazy

Debugging gone crazy

Scheduled Pinned Locked Moved C#
debugginghelploungelearning
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    il_manti
    wrote on last edited by
    #1

    Hi all, I have a problem. I'm using VS2005 and I'm writing a web service. It's been working fine so far. Now, when I try to debug the code whenever I step over/in a line of code it goes to some random line elsewhere in the code. Sometimes, when I stop the program and then run again it automatically stop on a breakpoint without even Invoking the web service!! I tried Cleaning the solution, removed all .pdb files but nothing helped. Does anybody have a solution for this because it's driving me crazy!

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C L 2 Replies Last reply
    0
    • I il_manti

      Hi all, I have a problem. I'm using VS2005 and I'm writing a web service. It's been working fine so far. Now, when I try to debug the code whenever I step over/in a line of code it goes to some random line elsewhere in the code. Sometimes, when I stop the program and then run again it automatically stop on a breakpoint without even Invoking the web service!! I tried Cleaning the solution, removed all .pdb files but nothing helped. Does anybody have a solution for this because it's driving me crazy!

      In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

      C Offline
      C Offline
      Charith Jayasundara
      wrote on last edited by
      #2

      Is it multi-threaded application?

      Charith Jayasundara

      I 1 Reply Last reply
      0
      • C Charith Jayasundara

        Is it multi-threaded application?

        Charith Jayasundara

        I Offline
        I Offline
        il_manti
        wrote on last edited by
        #3

        no ... it's just a webservice.

        In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

        P 1 Reply Last reply
        0
        • I il_manti

          Hi all, I have a problem. I'm using VS2005 and I'm writing a web service. It's been working fine so far. Now, when I try to debug the code whenever I step over/in a line of code it goes to some random line elsewhere in the code. Sometimes, when I stop the program and then run again it automatically stop on a breakpoint without even Invoking the web service!! I tried Cleaning the solution, removed all .pdb files but nothing helped. Does anybody have a solution for this because it's driving me crazy!

          In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

          L Offline
          L Offline
          Le centriste
          wrote on last edited by
          #4

          This usually happens when the source file and the pdb files are out of sync. This means the compiled version does not correspond to the current version of the source files. Erase all binaries, unGAC if necessary.

          1 Reply Last reply
          0
          • I il_manti

            no ... it's just a webservice.

            In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

            P Offline
            P Offline
            Paddy Boyd
            wrote on last edited by
            #5

            There's no chance that there are multiple calls occurring to the webservice during your debugging?

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups