Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    learningmadeeasyfun
    @learningmadeeasyfun
    We are working on embedded product development - its code is developed in VC++ IDE in C++17. There are a lot of threads and features in it. Is there a extension where by the function call traces can be logged during code execution - when we require?
    Sergey-Vlasov
    @Sergey-Vlasov
    learningmadeeasyfun
    @learningmadeeasyfun
    It seems that both of them mentioned above are tools for Linux whereas we are working on Windows 10 - are these tool available for Windows also?
    Sergey-Vlasov
    @Sergey-Vlasov

    @learningmadeeasyfun I'm not aware of such VS extension. An alternative would be more or less manual code instrumentation, there are several ways.

    And do you want it for debugging on a developer machine or for logging in production?

    Sergey-Vlasov
    @Sergey-Vlasov
    @learningmadeeasyfun You also say that you do embedded development, and say you run it on Windows 10. Can you please explain how it works together?
    projectmentor
    @projectmentor
    Hi, @Sergey-Vlasov Is the Runtime Flow standalone supported for Windows 10 and Net 4? I tried the trial version, and It started up with some error about a sandbox issue in new versions of Net. Ignored and ran it anyway, then got out of memory errors. However the function/process intercepts seemed to be working up to the point that it crashed. I fully admit I have no clue what I am doing at this level, but I would definitely purchase a licence if I can be sure that it works on my platform.
    BTW, I am trying to investigate function calls to a dll that was written for a program in MSVC14 (i think) it was written about 2017.
    Also if anybody does consulting in the area of reverse engineering a windows DLL please PM me. I am way out of my depth and could use some mentoring/training as try to figure out how the 8 functions of this dll works. Thanks for reading this.
    Sergey-Vlasov
    @Sergey-Vlasov
    @projectmentor Runtime Flow standalone is supported for Windows 10 and Net 4. Can you please post the sandbox error?
    sulan
    @abubakarovsulan

    Hey, I have question.

    Is there any posibilities to use Runtime Flow for Unity3D, besides that is it possible catch/save the complete trace?

    Sergey-Vlasov
    @Sergey-Vlasov
    @abubakarovsulan As I understand, Unity uses Mono as the .NET runtime, and thus doesn't support Runtime Flow monitoring.
    sulan
    @abubakarovsulan
    I see, thank you for your time.
    jwiede
    @jwiede

    I've noticed that when I have VS2019 configured to restrict formatting to "changed lines", ContinuousFormatting doesn't seem to follow that restriction, and changes otherwise-untouched lines in code (even when VS2019's settings are to leave spacing as-is in those cases). In team environments, that can be problematic, filling up commits with format-only changes (particularly undesirable in maintenance repos).

    It's definitely CF plugin causing the (mis)behavior, because the behavior ends when CF is disabled/uninstalled, and returns when enabled/reinstalled. If VS's format rules say to leave a given situation as-is for spacing/alignment/breaks, I do not understand why ContinuousFormatting causes formatting to change untouched lines.

    This can become a real problem, esp. when VS's native formatting controls don't quite support the team or project format standards -- normally the answer is just to leave the "atypically-formatted" lines untouched, or manually fix them, but with ContinuousFormatting that means having to remember to disable the plugin before working on such projects. I'm open to any suggestions on how to get CF to change this behavior?

    Sergey-Vlasov
    @Sergey-Vlasov
    @jwiede Can you please detail how you configured VS to restrict formatting to "changed lines"?
    Shoesoft
    @ShoesoftGitHub
    @Sergey-Vlasov Hi there, is there any way to download an earlier version of Visual Commander Home? Since the new update to 3.2.1 one of my macros doesnt compile any more and I have no idea how to solve it
    Sergey-Vlasov
    @Sergey-Vlasov
    @ShoesoftGitHub v3.1.3 can be downloaded here:
    https://vlasovstudio.com/visual-commander/VisualCommander_313.vsix
    Carsten Schuette
    @schuettecarsten
    Hi there. It looks like the "Favorite Documents Extension" causes Visual Studio 2022 Preview 3 to lockup on startup. Removing the extension using "Safe Mode" fixes the problem. I am not sure if it is really the extension itself or the fact that I moved the menu item from the extension menu into the main menu, as the first start with Favorite Documents worked fine.
    Sergey-Vlasov
    @Sergey-Vlasov

    @schuettecarsten Sorry for this problem. Normally, Favorite Documents works fine from the main menu.

    Can you capture a minidump of Visual Studio on lockup? For example, using Process Explorer or ProcDump.

    Abbylicious
    @Abbylicious
    Hi there! Task Canvas seems super useful (I'm on the trial now), I was just wondering- is there any way to open items from the Class View or Object Browser as a task in Task Canvas? Thanks!
    Sergey-Vlasov
    @Sergey-Vlasov
    @Abbylicious It is not currently possible and I don't know public VS APIs to implement it in Task Canvas.
    simulan
    @simulan
    Hey guys
    I've started creating my first visual studio extension, yet I have some problems with the databinding ("x:bind" or "{binding}") in xaml, does someone have a repo with an example using databinding in a visual studio extensions project?
    simulan
    @simulan
    I solved it, so for people who are also having trouble I used this example, turns out I cant use "x:bind" in xaml and should use that "DataContext" property of the toolwindow : https://github.com/madskristensen/SolutionExtensions/blob/61334eb283be2314f9df48a5dfcf64578e00a51e/src/ExtensionManager/InstallerDialog.xaml.cs
    Karsten Kousgaard
    @kak2_gitlab

    Hello. I'm trying out VisualCommand and looking into command example 41. Insert explicit named parameters for a method call.
    When I try to run it I get this error, Visual Studio 2019


    (0,0): error CS1701: Assuming assembly reference 'Microsoft.VisualStudio.Shell.15.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches 'Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a', you may need to supply runtime policy

    (42,20): error CS0721: 'System.Collections.Immutable.ImmutableArray': static types cannot be used as parameters

    Sergey-Vlasov
    @Sergey-Vlasov
    @kak2_gitlab Sorry, not escaped angle brackets. I've corrected the page https://vlasovstudio.com/visual-commander/commands.html#NamedParameters
    Karsten Kousgaard
    @kak2_gitlab
    Thanks, it works great now. I've modified it a bit, so it also works with constructors, by looking for both ObjectCreationExpressionSyntax and InvocationExpressionSyntax. Great tool, I'm sure it will be usefull to me.
    pm64
    @pm64
    Hi @Sergey-Vlasov. Is there any documentation on where Visual Commander stores its command & extension source code? I want to make sure this is backed up, and perhaps synchronized across machines.
    6 replies
    pm64
    @pm64
    Are there any issues using named pipes in VS Commander commands? The following works in a normal console application, but causes VS to freeze when executed in VS Commander:
    1 reply
            using (var client = new NamedPipeClientStream("MyPipe"))
            {
                client.Connect();
                using (var reader = new StreamReader(client))
                {
                    using (var writer = new StreamWriter(client))
                    {
                        var input = "My message!";
                        writer.WriteLine(input);
                        writer.Flush();
                        MessageBox.Show(reader.ReadLine());
                    }
                }
            }
    meirumeiru
    @meirumeiru
    @Sergey-Vlasov , hi, do you know if it's possible to extend a VCProject so that we could use custom .rc files (.newrc) and see them in the "resource view" (including virtual items representing the resources in the file).
    Sergey-Vlasov
    @Sergey-Vlasov
    @meirumeiru I'm unfortunately don't have any experience extending projects.
    1 reply
    Dan Luevano
    @daniel-luevano_revalize
    I just installed VS 2022 and am trying add the Tabs Studio extension, has any one gotten an error code 2349 when installing?
    Sergey-Vlasov
    @Sergey-Vlasov
    @daniel-luevano_revalize As a workaround for 2349, I suggest to uninstall Tabs Studio and then run the installer again.
    Caio César
    @cesarr_caio_twitter
    @Sergey-Vlasov do you have any extension for vs22 able to display inline image previews?
    Sergey-Vlasov
    @Sergey-Vlasov
    @cesarr_caio_twitter No. There were such extensions for older VS versions, but not from me.
    Jez
    @jez9999
    @Sergey-Vlasov I'd like a Visual Commander extension to hide the "Toggle pin status" button on pinned tabs on the VS2022 tabbar. do you know where i could find one? failing that, do you know of an extension that does similar that i could maybe use as a template, something that performs an action whenever a tab is opened maybe? or ideally, the VS interface would use something like CSS where you could just have a rule to hide all such buttons (though I don't think it does use that)
    Sergey-Vlasov
    @Sergey-Vlasov
    @jez9999 You can use https://tabsstudio.com/ :) It doesn't have the pin button and supports styles.
    Jez
    @jez9999
    @Sergey-Vlasov I've installed it - pretty nice. i have a few questions:
    1) can you get tabs to animate as you drag to move them, instead of the 'arrow' icon?
    2) the tabs on all but the last row seem to expand to fill the full width instead of just staying their natural size; can this be disabled?
    3) unless i'm being stupid, i don't see a "pin tab" option on the right click menu. what happened to it?
    4) pinned tabs don't seem to be on their own line. can they go on their own line?
    5) can pinned tabs have an icon next to them to indicate they're pinned?
    6) productivity powertools' custom document well would autoamtically assign a new colour for tabs for each project in the solution; can tabs studio do this, without having to explicitly setup a bunch of regular expressions?
    Jez
    @jez9999
    7) when you set a sorter rule to sort all marked tabs to the beginning, you can still drag an unmarked tab before them. any way to stop this?
    8) if i drag a tab all the way to the right, it wants to float the tab instead of move it to the right of the other tabs. any way to change this?
    Sergey-Vlasov
    @Sergey-Vlasov
    @jez9999
    1) no
    2) use the ShortTabs property https://blog.tabsstudio.com/2021/11/11/short-tabs/
    3) there are no tab pins in Tabs Studio https://tabsstudio.com/documentation/faq.html#Pin
    4) PriorityGroup add-in https://tabsstudio.com/documentation/addins/priority_group.html defines the super group for priority tabs that can be shown in a separate row https://tabsstudio.com/documentation/visual_studio_tab_grouping.html#SuperGroup
    5) there are no tab pins, but usually you can set a custom color for any group of tabs
    6) no (I don’t believe assigning random colors adds value), there is Selector add-in that dynamically highlights tabs belonging to the same project as the selected tab https://blog.tabsstudio.com/2022/03/15/highlighting-tabs-for-the-selected-project/
    7) no, it is recommended not to use automatic and manual sorting at the same time
    8) you need to drag and drop a tab to the right side of the last tab to make it go after it
    Jez
    @jez9999
    @Sergey-Vlasov hmm, well it's not quite good enough for me to pay a monthly sub - if i'm gonna pay a monthly sub for just a tabs addon it'd better do pretty much exactly what i want :-) if 1), 7), and 8) were fixed i'd probably pay a sub.
    Sergey-Vlasov
    @Sergey-Vlasov
    @jez9999 There is no monthly sub for Tabs Studio. It is one time purchase with optional upgrades.
    Esteban Feldman
    @eka
    Hi, I wanted to know if RuntimeFlow can be used with a Unity Project? Do you have an extension for Rider?
    @Sergey-Vlasov ^^
    Sergey-Vlasov
    @Sergey-Vlasov
    @eka No, Unity doesn't use the standard .NET runtime. I don't have extensions for Rider.
    Sergey-Vlasov
    @Sergey-Vlasov

    @Ncerna To count in numbers how many times you compile the project or press F5 in the IDE when developing an application, you can use my Visual Commander extension with “Monitor commands execution” example:
    https://vlasovstudio.com/visual-commander/extensions.html#CommandEvents

    Just replace MessageBox.Show with writing a string to a file with the command name and a timestamp. Then you can easily query this file from a standalone application to give you stats.

    FIIS
    @Ncerna
    This message was deleted
    3 replies
    FIIS
    @Ncerna
    How can I capture the (Ctrl+f5) and Debug.Start or Start events in my visual studio extension? How do I start? I ask you for a lot of help, please.
    2 replies
    Caio Cesar
    @CaioCes84048648_twitter
    @Sergey-Vlasov im using the Tabs Studio extension on Visual Studio 2022, when I stop debugging it freezes the ide for many seconds, have you heard something about this before?
    I don't know if it started before or after installing the extension.