views:

45

answers:

2

I have a problem removing breakpoints that are set when I attach to a process.

I am attaching to the aspnet_wp process and setting breakpoints. However any breakpoints I remove while debugging are only removed temporarily. when I re-attach the debugger to the process, my breakpoints that I had removed come back again. I have found that the only way to remove the breakpoints, is to remove them when the debugger is not attached to anything. Does anyone know what causes this, and if there is a way to disable it?

+1  A: 

From my experience that is normal behavior.

The Mystery of the Reappearing Breakpoints

rick schott
Should it be though? Seems like a bug to me.
Aaron M
I have never seen it behave any differently.
rick schott
+1  A: 

Try opening breakpoints window(Debug->Windows->Breakpoints) and deleting the breakpoint from there.

Alex Reitbort