I cannot seem to get remote debugging to work consistently. At the moment I have the following problems in just one VB
1. When I attempt to attach to the server, VS says "The following breakpoint cannot be set...The breakpoint failed to bind" for some but not all breakpoints set. There is no explanation why binding failed. Other breakpoints appear to work while debugging remotely and ALL breakpoints work when debugging locally. I can then sometimes add breakpoints but not others.
2. I am unable to query the value of some variables, form controls or properties. Others are available.
3. Vs wants me to find the following code modules, none of which are part of or referenced directly by my code:
a. HttpWebRequest.cs (But this is VB
- BUT, when I click the Open button for the Find Source dialog box, it says it cannot find the same file in a completely different solution, project and folder (but which I also recently had problems remote debugging). I cannot fathom why it would want to open a file in a completely unrelated solution?
everytime it hits an IF statement
every time it hits a statement referencing some string manipulation function
e. WebRequest.cs (again, this is a VB
Furthermore, pressing F11 will not advance beyond these missing module errors. It just keeps asking me to find these files. However, pressing F5 appears to advance the code to the next breakpoint that was successfully bound.
What is going on? How do I make remote debugging work as advertised?