Debugging Managed Async Code in Visual Studio 2019

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 29

  • @benoitrousseau4137
    @benoitrousseau4137 4 года назад +5

    Wow, that sounds really useful. I don't write that much async code but I could have used that a few times in the past.
    By the way I thought "Tasks" was just the Task List window (the feature that tracks TODO comments) especially since it uses a very similar icon. I would recommend Microsoft renames it to "Running Tasks" and gives it a different icon to make it clear we're talking about .NET async tasks.

  • @lollo4711
    @lollo4711 4 года назад +1

    Very cool!!!! I first thought one can also debug down to the "ASYNC-Machine" (the part the compiler wraps around ASYNC calls). Intellitrace should be part of the Community Edition (like anything else too; I like the newest features on my computer [Community Edition] - but I dont mess with version updates on production [Enterprise Edition].

  • @VinodKumar-wh1mq
    @VinodKumar-wh1mq 4 года назад +2

    Very helpful!! Thank you!

  • @vincentzheng3042
    @vincentzheng3042 4 года назад +3

    pretty cool! thank you!

  • @BGFutureBG
    @BGFutureBG Год назад

    Any idea why the Tasks list would be empty when remote debugging a .net process on Linux but the Parallel Stacks would be populated fine?

  • @HWRLife
    @HWRLife 4 года назад +1

    Thank you. I’m using VS 2019 professional. Using Asynchronous with .net core. However unable to see “task” as you can see it. Which VS version you are using? And, I think this kind of things should be available in all versions including community. Any clue?

  • @razor23Ukraine
    @razor23Ukraine 4 года назад +4

    Wow. Quite impressive, I almost didn't know any of this. Thanks!

  • @wowDepressive
    @wowDepressive 4 года назад +1

    Thanks very useful for next time

  • @BUNTHOEUN_SOUN
    @BUNTHOEUN_SOUN 2 года назад

    Dear Team Microsft Visual Studio
    how to fix Visual Studio 2022 when I run program it opens browser normal but when I stop debug close my browser. So My question How to fix it? Thanks in advance.

  • @ragavanraviajan
    @ragavanraviajan 4 года назад

    These are cool. Tasks debugging would become simpler. Does features other than snapshot debugging are available in community version?

  • @shublsro
    @shublsro 4 года назад

    This is pretty amazing stuff. Will these come to UWP any time soon?

    • @gavinw77
      @gavinw77 4 года назад

      Let me guess ... no. UWP is now about 2 years behind current .net and C# capabilities. They would likely have to bring it upto date and that's not going to happen anymore. I'm just waiting for .Net 5 now. UWP isn't good enough moving forward.

  • @Chiramisudo
    @Chiramisudo 4 года назад

    What about UNmanaged code? I have legacy code that uses and external call to the `CreateEvent` function from a DLL import of kernel32.dll. It's got to be the worst possible implementation, but I don't have the first idea, nor the time to research, how to modernize it with Task awaits. What's worse, it's an old WinForms app targeting .NET Framework 3.5, circa 2012.

  • @rne1223
    @rne1223 4 года назад +3

    Is this in the community edition?

    • @lukasschmitt3075
      @lukasschmitt3075 4 года назад

      would be nice to know - and nice to have ^^ - I always find it disturbing when working with VS Professional at work and then switch to VS Community at my private PC. So much is different/missing.

    • @leslierichardson9939
      @leslierichardson9939 4 года назад +1

      Yeah! Everything except snapshots are available in VS Community edition

    • @gavinw77
      @gavinw77 4 года назад

      Yes (but not Intellitrace)

  • @jianglongdu946
    @jianglongdu946 4 года назад

    good feature !!

  • @TheAngelOfDeath01
    @TheAngelOfDeath01 4 года назад +1

    Umm... there is no link to any source code in the video notes, you guys...

    • @artemty7
      @artemty7 4 года назад

      docs.microsoft.com/en-us/visualstudio/debugger/walkthrough-debugging-a-parallel-application?view=vs-2019#creating-the-sample-project

    • @leslierichardson9939
      @leslierichardson9939 4 года назад

      Good catch! We’ll update the description later but here’s the link for the time being: docs.microsoft.com/en-us/visualstudio/debugger/walkthrough-debugging-a-parallel-application?view=vs-2019

  • @szymongaertig5305
    @szymongaertig5305 4 года назад +1

    Where can I find a source code for first example?

    • @artemty7
      @artemty7 4 года назад

      docs.microsoft.com/en-us/visualstudio/debugger/walkthrough-debugging-a-parallel-application?view=vs-2019#creating-the-sample-project

  • @jamesmasonic
    @jamesmasonic 3 года назад

    finally a woman voice teaching code

  • @srijandixit1224
    @srijandixit1224 4 года назад

    I had already install python tool in my visual studio but now i want to install C++ tool but i am not confirmed that if i download/install C++ tool it will uninstall my python tool ......could you give me procedure to download it.....