November 3, 2021 at 01:15 #31678November 3, 2021 at 08:23 #31683
This error means that VisualGDB is not able to launch the J-Link GDB server. Please double-check the J-Link path specified in VisualGDB Project Properties -> Debug Settings. It must be valid and must contain the JLinkGDBServerCL.exe file. If the file does exist, please try disabling your antivirus software – sometimes it would block arbitrary executables from running.November 3, 2021 at 23:46 #31702
I’ve checked the settings and the folder you mentioned. As you can see from the attached pictures, the file you mention is in the folder set in the settings.
I’ve also looked at the antivirus logs and the antivirus software has not blocked anything, there is no entries in the logs about this file.
I’ve also tried reinstalling visual studio and VisualGDB, but still same result.
I’ve worked with VisualGDB for a while without any issues, this only happened once I upgraded to the latest version.
Attachments:You must be logged in to view attached files.November 4, 2021 at 01:17 #31705
Trying different things I noticed that if I try to start the JLinkGDBServerCL.exe manually it cannot connect to the target, but JLinkGDBServer can, same with JLink commander. Just wanted to mention it incase it helps.November 4, 2021 at 05:20 #31706
Strange.. I tried reinstalling VisualGDb again and this time it was refused access to vgagent.exe… Restarting visual studio and we’re back to no access to gdbserverCL… Almost looks like VisualStudio/VisualGDB does not have access to the files…November 4, 2021 at 08:05 #31707
vgagent.exe is often blocked by antivirus software as a false positive. You can read more on this page: https://visualgdb.com/documentation/falsepositives/
Please consider reporting it as a false positive to your antivirus vendor and/or adding vgagent.exe to the exception list. Please also feel free to let us know the antivirus you are using, so that we could update our knowledge base.November 8, 2021 at 09:13 #31732
I’m using ( or my company is… ) Webroot SecureAnywhere.
Thanks for the supportNovember 8, 2021 at 09:19 #31733
Thanks for letting us know.
You must be logged in to reply to this topic.