SmartCommandlineArgs icon indicating copy to clipboard operation
SmartCommandlineArgs copied to clipboard

Improve support for C++ DebuggerFlavors

Open Irame opened this issue 1 year ago • 2 comments

Flavors that miss EnvVar Support:

  • [ ] GoogleAndroidDebugger
  • [ ] GamingDesktopDebugger

Flavors that are missing completely

  • [x] UPW
  • [x] LinuxDebugger

Irame avatar May 09 '23 16:05 Irame

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>

cos-public avatar Aug 22 '23 02:08 cos-public

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 :)

SirTimothy avatar Mar 12 '24 11:03 SirTimothy