MBulli / SmartCommandlineArgs

A Visual Studio Extension which aims to provide a better UI to manage your command line arguments
GNU General Public License v2.0
99 stars 35 forks source link

Improve support for C++ DebuggerFlavors #155

Open Irame opened 1 year ago

Irame commented 1 year ago

Flavors that miss EnvVar Support:

Flavors that are missing completely

cos-public commented 1 year ago

Please consider LinuxDebugger DebuggerFlavor as well, including the remote debugging. Here is an excerpt from vcxproj.user file with Program Arguments configured from project properties, if it helps:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
    <RemoteTarget>-936243156;192.168.1.26 (username=, port=22, authentication=PrivateKey)</RemoteTarget>
    <DebuggerFlavor>LinuxDebugger</DebuggerFlavor>
    <LocalDebuggerCommandArguments>
    </LocalDebuggerCommandArguments>
    <RemoteDebuggerCommandArguments>--verbose=trace --log-file=logs/run.log</RemoteDebuggerCommandArguments>
    <RemoteDebuggerWorkingDirectory>$(RemoteDeployDir)</RemoteDebuggerWorkingDirectory>
  </PropertyGroup>
  ... other configurations & platforms ...
</Project>
SirTimothy commented 7 months ago

Hey, I was wondering if it would be possible to make this a bit more flexible, like a local config where a person could add more without needing to change it in code? If a person is working on some platform that can't be added here for whatever reason, then they've got to make a local custom build of the plugin just to add a single line with the DebuggerFlavor and appropriate CommandArguments/etc tag names...

Of course, it's best if platforms can ultimately have built-in support, but being able to add something locally would be awesome :)