I am reproducing the following behavior in VS2008 (native C++):
- attach to an executable that consumes a custom dll (for which I have the source)
- debug the code from the dynamic lib
- encounter an access violation error (probably caused by the code in the executable - closed source)
- break on access violation error with the attached debugger
After this, no matter how many times I reattach, rebuild, restart the application, computer, any breakpoint I will set in the .dll source code becomes inactive (No executable code associated with this line is the alleged cause, according to VS).
I suspect this is an issue with VS2008, as I did the same on a different machine and now I have two machines where debugging is no longer possible.
Are there any recorded solutions of this issue? What can be done to overcome it?
What I have done:
- deleting everything (the entire solution, pdbs, binaries, etc.) and starting with the code from scratch (cloning the latest version from the repository)
- restarting the machine
- changing the machine (it worked once, until the error occurred, then the other computer exhibited the same behavior)
What I cannot do:
- change compiler/VS version
- debug the executable (sadly no source code available and lack of assembly skills)