Sysprogs forums › Forums › VisualGDB › Exception when changing Additional Arguments
- This topic has 1 reply, 2 voices, and was last updated 7 years, 3 months ago by support.
-
AuthorPosts
-
September 22, 2017 at 21:55 #12479AncarithaParticipant
I have a weird problem that I’m hoping someone can point me in the right direction to fix.
I recently wanted to turn multi-threaded compiling on, so I modified the “Additional Arguments” field on the “Makefile settings” page. However, when I hit ‘Apply’ it goes through all of the stuff and then at the last one (linking test program), it throws up an error that says: Exception from HRESULT: 0x80050500. If I hit OK or Apply any time after this it immediately throws that exception. I have to hit Cancel and then re-open VisualGDB properties and the change that I had made has been removed. I can add new preprocessor defines, include directories, etc (all the things that cause it to re-compile and test) and they work fine. I just can’t modifying the “Make Command” line or the “Additional arguments” line.
Side note, while running this post, I actually got it to compile and work. I’ve been trying to get this to work for the last half hour. In getting the error to pop up so I could copy the exception details, all I did was paste the same thing I’ve been entering into the ‘Additional arguments’ and it worked. I can’t even remove the line I just added without it throwing an error, so it’s clearly still an issue…
I’m using Visual Studios 2012 Pro, Update 5. VisualGDB is 5.2R9 Here are the ‘Exception Details’
VisualGDB version: 5.2.15.1452
—————— System.Runtime.InteropServices.COMException ——————
System.Runtime.InteropServices.COMException (0x80050500): Exception from HRESULT: 0x80050500
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCFilterShim.CheckCanAddFile(String path, Boolean setErroInfo)
at Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCFilterShim.<>c__DisplayClass11.<AddFile>b__10()
at Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.ApartmentMarshaler.Invoke[TResult](Func`1 method)
at Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCFilterShim.AddFile(String path)
at l81.AddFile(String a)
at ob.d_2(vn1 a, Object b)
at lt.p1(rn1 b, IVCConfiguration a)
at c31.l1(String a, rn1 b, IVCConfiguration c, Boolean e, it d)
at ib1.i1(Boolean a, it b)Thanks!
September 23, 2017 at 05:14 #12480supportKeymasterHi,
It looks like VisualGDB is trying to add some file to the project and this triggers an internal exception in VS. Please try updating to VisualGDB 5.3 Preview 8 and check if the problem persists. If yes, please attach an updated stack trace so that we could help you pinpoint this.
-
AuthorPosts
- You must be logged in to reply to this topic.