-
Notifications
You must be signed in to change notification settings - Fork 2
Remote Debugging from Visual Studio
John Holt edited this page Apr 19, 2018
·
9 revisions
Remote debugging allows you to debug in visual studio c and c# applications running on another machine. To do this:
- On the remote machine run the visual studio remote debugging (x64) tool for your version of visual studio. It can be downloaded from microsoft but may be there already.
- Set the tool to allow no authentication (Tools->Options No Authentication)
- Run VS on your local machine
- Select Debug -> Attach to Process
- Set Connection Type Remote(no authentication) and use the server name in connetion target
- Select the process from the list
- If you need to catch an error in ioc startup, start the ioc with
runIOC.bat aaa
this will cause it to start up with running st.cmd. - Once you are connected and have break points setup then type
< st.cmd
to boot the ioc
- If you need to catch an error in ioc startup, start the ioc with
- Open the Modules windows, find a module you are interested in right click and do load symbols. I am a bit hazy on how this works Freddie knows more. If it works for you please put how you did it here.
- You should now be a able to open code and put breakpoints in as usual.