Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to Enable/Disable [Start Debug Target] button from Toolbar in VS2012?

$
0
0

Hi Guys,

We found a new feature [Start Debug Target] button in VS2012, which looks similar as [Start/Continue].

We can control the [Start/Continue] button as enabled/disabled according to project's debug mode, but fail to access [Start Debug Target] button from Toolbar.

Since [Start Debug Target] is supposed to help debugging, we intend to access it like [Start/Continue].

We use IVsDebuggableProjectCfg.QueryDebugLaunch(uint flags, outint fCanLaunch) to access[Start/Continue] as following,

Can we find a way to control [Start Debug Target]? e.g. ,QueryDebugLaunch(), filter by VsCommands. in QueryStatus() ...

Please correct me if I'm wrong, thanks in advance!


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>