Failed to execute a custom pre-debug action

Sysprogs forums Forums VisualGDB Failed to execute a custom pre-debug action

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36625
    khalil
    Participant

    Hi,

    I have been using VisualGDB + VisualStudio for STM32 based target. Recently, I started to face an issue while flashing the target from VisualStudio.

    • I have confirmed the HOST PC connection with target device via JTAG and everything seems fine…
    • From VisualStudio, I’m getting the error “Failed to execute a custom pre-debug action” while flashing the target.

    I’m not sure about the reason behind this error as I haven’t changed/updated any VisualGDB project configurations.

    Regards,

    Umair

     

    • This topic was modified 10 hours, 55 minutes ago by khalil.
    Attachments:
    You must be logged in to view attached files.
    #36629
    khalil
    Participant

    Update:

    After going though the git history. I found out that someone from my team has added a “PreDebugAction” in the vgdbcmake. I disabled it for now by removing that section from vgdbcmake. Can you please guide me, how can I disable it from GUI and why It was causing issues with flashing code in debug mode?

    </CustomBuild>
    <CustomDebug>
    <PreDebugActions>
    <CustomActionBase xsi:type="CommandLineAction">
    <SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
    <RemoteHost>
    <HostName>BuildMachine</HostName>
    <Transport>BuiltinShortcut</Transport>
    </RemoteHost>
    <Command>PATH-TO-EXE</Command>
    <Arguments>Arguments-to-EXE</Arguments>
    <WorkingDirectory>EXE-WorkingDir</WorkingDirectory>
    <BackgroundMode>false</BackgroundMode>
    </CustomActionBase>
    </PreDebugActions>
    <PostDebugActions />
    <DebugStopActions />
    <BreakMode>Default</BreakMode>
    <CustomBreakCommand>
    <SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
    <RemoteHost>
    <HostName>BuildMachine</HostName>
    <Transport>BuiltinShortcut</Transport>
    </RemoteHost>
    <BackgroundMode xsi:nil="true" />
    </CustomBreakCommand>
    </CustomDebug>

    #36630
    support
    Keymaster

    Hi,

    Please let us know the email address associated with your license, so that we could link it to your profile.

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