Visual GDB issue in VisualStudio 17.12.0 Previw

Sysprogs forums Forums VisualGDB Visual GDB issue in VisualStudio 17.12.0 Previw

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36085
    Aloysius_Pendergast
    Participant

    It seems that VisualGDB does not work with the new version of VisualStudio 12.xx.xx. Flashing results in the following error message, see below. Debugging works as expected.

    ESP32 IDF Project

    VisualGDB version: 6.0.103.5191
    —————— System.ArrayTypeMismatchException ——————
    System.ArrayTypeMismatchException: Es wurde versucht, auf ein Element zuzugreifen, dessen Typ mit dem Array nicht kompatibel ist.
    bei System.ThrowHelper.ThrowArrayTypeMismatchException()
    bei Microsoft.VisualStudio.CommonIDE.Solutions.BuildManager.SolutionBuildManager.HrUpdateProjects(vsBuildScope buildScope, SLNUPDACTION dwUpdateActions, UInt32 cProjs, IVsHierarchy[] rgpHierProjs, __VSDBGLAUNCHFLAGS grfLaunch, Boolean fSuppressUI, IVsSlnConfiguration pSlnCfg, Boolean alwaysRespectSlnCfgCheckBoxes)
    bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    bei tb.n1(Object b, or2 a)
    bei mq3.a_2(Nullable`1 a)
    bei h63.ESPIDFCommand.Execute()
    trace=[System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal:-1, tb.n1:116, mq3.a_2:122, h63+ESPIDFCommand.Execute:7]

    #36086
    support
    Keymaster

    Hi,

    Thanks, looks like the new preview build introduces additional type checking that fires false positives in some cases.

    We have added a workaround to this build: VisualGDB-6.0.104.5221.msi

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.