Different JTAG/SWD programmers in shared project

Sysprogs forums Forums VisualGDB Different JTAG/SWD programmers in shared project

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13299
    hvbill
    Participant

    Hi,

    We are a bunch of developers using VisualGDB in a project where we use different types of programmers (ST-Link and J-Link). But since this choice is stored in the .vgdbsettings file that must be checked in we’re having problems. Are we missing some settings or would it be possible to store this kind of personal information in a .vgdb_user_settings file?

     

    #13300
    hvbill
    Participant

    We are using VisualGDB 5.3R6 and Visual Studio 2015

    #13316
    support
    Keymaster

    Hi,

    Sorry, this is not supported directly yet, however we could add a quick workaround that will let you override the debug settings in the .vgdbsettings file (shared between multiple users) by manually editing the .vgdbsettings.user files. We may also support this properly in the next major release, although we cannot promise this definitively yet.

    Would you like to try the manual editing workaround?

    #13318
    hvbill
    Participant

    That workaround would be really nice to have.

    Thanks!

     

     

     

    #13332
    support
    Keymaster

    Hi,

    No problem, we have added this as an experimental feature to the following build: http://sysprogs.com/files/tmp/VisualGDB-5.3.18.1977.msi

    To enable it, please create a file called <name of .vgdbsettings file>.vgdbsettings.<user name>.user with the following contents:

    <?xml version="1.0"?>
    <VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <UserDefinedVariableValues />
      <DebugPreferences xsi:type="com.visualgdb.debug.embedded.preferences">
        <OverriddenSettings>
            <DebugMethod>
                <!-- Contents of the DebugMethod tag from the .vgdbsettings file -->
            </DebugMethod>
        </OverriddenSettings>
      </DebugPreferences>
    </VisualGDBUserPreferences>

    If you are not sure about the name of the file, try adding a live variable or a visual watch to your project and VisualGDB will automatically create the .user file.

    The <DebugMethod> value from the .user file will now override the settings from the .vgdbsettings file (although the GUI may not edit the settings properly).

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