Advanced Breakpoints and Tracepoints in C#

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

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

  • @dasfahrer8187
    @dasfahrer8187 Месяц назад +15

    This is embarrassing to admit, but I've been developing for decades and have just been using basic breakpoints. Thanks for the level up!

    • @IAmTimCorey
      @IAmTimCorey  Месяц назад +1

      I am glad it was helpful.

    • @PekDraine
      @PekDraine 15 дней назад +1

      Haha, same here. But basic breakpoints does the job. =)

  • @mohameddabbour6961
    @mohameddabbour6961 Месяц назад +3

    2017: baby developer watching every single video of your channel to learn how to do stuff
    2024: omg it seems like i cant debug
    thank you tim ❤ you never disappoint

  • @jonathanblackwell42
    @jonathanblackwell42 Месяц назад +2

    Tim, you wizard! I've been using Visual Studio since VS 2008 and you just taught me stuff. I've used conditional breakpoints, but seemingly never explored the rest of those features.

  • @TomRaf
    @TomRaf 25 дней назад

    Thanks for the vid. I've been already using about 50-60% of this.
    Recently I discovered the breakpoint groups and found them kind of helpful even though haven't used them anywhere yet :D Now I have a clearer picture of why they might be helpful and where to use them.

  • @satyabratamohapatra3397
    @satyabratamohapatra3397 29 дней назад

    Thank you Tim.The import/export breakpoint feature is awesome. To be honest i was not aware of that feature ever exist in VS.

  • @dandandan01
    @dandandan01 Месяц назад +1

    I can't even count the hours that conditional breakpoints have saved me. It's something that everyone should know!

  • @yaroslavg6055
    @yaroslavg6055 27 дней назад

    Tim, you are magician) Thank you for this tutorial

  • @dotnetMasterCSharp
    @dotnetMasterCSharp 29 дней назад

    Most useful for beginners🎉

  • @AlexanderOrtizRosada
    @AlexanderOrtizRosada 22 дня назад

    This becomes even more powerful when is combined with DebuggerDisplay attributes

  • @enihi
    @enihi Месяц назад

    Function breakpoints are great when you want to break in an assembly that you haven't loaded the code for. Combined with Visual Studio built in decompile, very fast on huge projects.

  • @KennyThaKoala
    @KennyThaKoala 29 дней назад

    A video on dependency injection, ioc containers, and the composition root would be very appreciated.

    • @IAmTimCorey
      @IAmTimCorey  29 дней назад

      Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/

  • @ThomasArdal
    @ThomasArdal Месяц назад

    Excellent video. I always name my Azure Functions 'Run'. A functional breakpoint working across solutions would be awesome for those. Not sure if that is possible without export/import, though.

    • @IAmTimCorey
      @IAmTimCorey  Месяц назад

      That's an interesting idea. You would need to export and import them, though.

  • @Zakaria_TheWolf
    @Zakaria_TheWolf Месяц назад +4

    This Is Really an Amazing Lesson And important As well , i only Use The Normal Breakpionts But Today i Learn That There A Lot To Solve Usng This Futures Of Multiple Breakpionts Thank You For This Amazing Video ✅✅
    Iwill Save This Video For The Future scenarios because Right Now Im Still In The Entry-level

  • @jeffsherman9638
    @jeffsherman9638 9 дней назад

    Hello Tim, While upgrading an app from .NET 5 to .NET 8 , I started getting errors in my code. Long story short, it ended up that I had script debugging turned on. When I turned it off, the app ran fine. The error occurred when it was trying to render a shtml page using pull down menus from a database. The breakpoints didn’t make it clear why this problem occurred.

    • @IAmTimCorey
      @IAmTimCorey  9 дней назад +1

      Script debugging is tricky, because scripts often have bugs that are just passed over. The web can be a messy place.

    • @jeffsherman9638
      @jeffsherman9638 9 дней назад

      Is the best practice to leave it on or off?

    • @IAmTimCorey
      @IAmTimCorey  9 дней назад

      I'd leave it off typically until you need it.