I am having some trouble with vgagent.exe. When debugging a project I was seeing an error saying “Cannot find vgagent.exe. VisualGDB won’t be able to send CTRL-C events to the GDBSERVER application”. This results in being able to debug the project however I cannot add breakpoints after debugging has started. The file was removed by my antivirus mistakenly which is now resolved.
After VisualGDB was reinstalled and the agent is now present but I am encountering another issue. When starting to debug I get a ‘Access is denied issue’. I have attached screenshots to this post. This stop debugging all together and the project will not run – worst than having the agent missing.
I have then temporarily moved the agent to a different file. The denied access problem is now resolved however because the agent is missing debugging does not operate fully. Reinstating the agent then reintroduces the denied access issue.
Any help would be very much appreciated and thanks in advance.
You must be logged in
to view attached files.