Тёмный

Debugging Tips and Tricks Part 1 

Microsoft Visual Studio
Подписаться 325 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@MasonWiseman
@MasonWiseman 5 лет назад
Been using VS forever and didn't know about quite a few of these. Very informative and helpful!
@lugoheriberto
@lugoheriberto 2 года назад
Same
@lixin5169
@lixin5169 5 лет назад
1 "Run To" button just at the head of the lines 2 Pin the "Watch" window (it can't be in another monitor, BTW) 3 DebuggerDisplay to show customized information in the Watch/Auto/Local window 4 Text Visualizer(XML, HTML, JSON) 5 Actions in Breakpoint setting, log a message to the Output window, also in the "Diagnostic Tools -> Events" window
@KillerMZE
@KillerMZE 5 лет назад
This was really good. Only knew 3 of these tips, and the tracing breakpoints are going to be so helpful. One note about conditional breakpoints, they slow down execution a lot, even compared to debug speed, so use them sparingly.
@DalTron001
@DalTron001 5 лет назад
This is awesome! I need like a simplified cheat sheet with tips like this on it.
@iancarr3923
@iancarr3923 5 лет назад
Great video. Love the debuggerdisplay feature. As an olidie I remember conditional break points in VS2005. Nothing to do with programming but good to see "Pere Goriot" in the book list.
@khoachung89
@khoachung89 5 лет назад
Very helpful video :) Just one thing: many videos on Channel 9 and other Microsoft's channels are described with timeline. something like: 2:45 : Run Execution to line 3:30 : Pin Watching item..... It's a lot easier for me to review video like that, instead of viewing full video with many things i have already known.
@_fbr
@_fbr 5 лет назад
I couldn't agree more. Also, it would be great if you can add bookmarks in the video so people can jump to the main points just like in other sites like Ud*my. JustMy2Cents.
@onewhispergaming6435
@onewhispergaming6435 5 лет назад
Thanks for the debugging tips. I do C# in Visual Studio. I love the interface of Visual Studio 2019.
@salihkarabilo7005
@salihkarabilo7005 5 лет назад
Thanks for the content, Love the RunToClick and DebuggerDisplay. Keep the great conent up!
@Kefitzat_haDerech
@Kefitzat_haDerech 5 лет назад
Great!! Also please do one on profiling tools.
@bigshadow86
@bigshadow86 5 лет назад
I have been using Visual Studio since day one. I didn't know about the debuggerdisplay attribute on the class object. To display the objects of a list or arrray in a data tip, I have always override the ToString() function and write all the logic in there. I have never seen the run to click feature, seems handy.
@lestersantiago510
@lestersantiago510 5 лет назад
Awesome share. and awesome to see firefox being used on the demo :) Immediate windows is nice!
@eshaccount
@eshaccount 2 дня назад
I will try json visualizer now 😊. Better late than never
@mohdotnet
@mohdotnet 5 лет назад
Very informative many thanks for sharing. Did not know this existed.
@LuigiZambetti
@LuigiZambetti 3 года назад
Please, add more videos about Visual Studio debugging.
@Matll
@Matll 5 лет назад
Thanks, these were actually really handy tips!
@julianocs87
@julianocs87 5 лет назад
Very helpful. Keep up with the good content.
@Corrado49
@Corrado49 5 лет назад
very helpful and well explained
@johannesschweer6301
@johannesschweer6301 5 лет назад
This is an awesome video! Is it possible to get these type of Tips and Tricks for Visual Studio Code?
@rehmanshahid5671
@rehmanshahid5671 5 лет назад
One of my favourite is watch window...
@b_gumm
@b_gumm 2 года назад
Thank you
@anamamer2600
@anamamer2600 10 месяцев назад
I feel like a neanderthal after watching this. God i could have saved 100s of hours if i knew this
@RonaldZaZ
@RonaldZaZ 5 лет назад
You don't need to restart the application if you add/change a conditional breakpoint. Maybe your app needs to be restarted to reach the code you are debugging, but then that's simply because how your app is written.
@lugoheriberto
@lugoheriberto 2 года назад
She didn't restart because of the breakpoint. She restarted because of state the app was in. In this example she could've just dragged the current step to the beginning. Which she know because she shows it in another video.
@孫守真
@孫守真 5 лет назад
11:30 breakpoint Actions 14:00 Output Windows Why did my Visual Studio 2019 Community print it in the Immediate Window, not in Output? Thanks. 感恩感恩 南無阿彌陀佛
@embeddedsemrade
@embeddedsemrade 3 года назад
I really like this video thank you!
@Chiramisudo
@Chiramisudo 4 года назад
Go upvote "Support data breakpoints for .NET framework" here!: developercommunity.visualstudio.com/idea/518713/support-data-breakpoints-for-net-framework.html
@jessesinger923
@jessesinger923 5 лет назад
This is great.
@GaddiShare
@GaddiShare 5 лет назад
Please increase font size of code in next parts of this series.
@eclectictraveler9073
@eclectictraveler9073 4 года назад
Is there a git repo to tinker with it?
@hamadanjum4720
@hamadanjum4720 5 лет назад
Thats cool.
@tenminutetokyo2643
@tenminutetokyo2643 5 лет назад
“What does it say about the quality of your engineering if you have to have all this testing” - Steve Jobs
@aaronandannelogan
@aaronandannelogan 4 года назад
With all due respect to Jobs, that seems like a very cavalier attitude to have with respect to software testing.
@bradleyr4451
@bradleyr4451 Год назад
Why the black screen? with faint dark green or faint dark blue text? with no contrast? To read the screen have to use magnifier at 200x. Are we fancy and important if we use the black screen? Oh Im so sophisticated because I saw that one guy use the dark background so I want to look smart? You cannot prefer this over the normal background?? I came from the monochrome crt world. Those screens had contrast, this does not, its not readable.
@medusaskull9625
@medusaskull9625 Год назад
My code is perfect. My bug is also perfect. It's not easy to debug.
@MobilTemp
@MobilTemp 4 года назад
Sound angry..
@madisonmadison3825
@madisonmadison3825 5 лет назад
With regard to Tip 3 "DebuggerDisplay attribute": we could override ToString() to get same result in previous VS
@lugoheriberto
@lugoheriberto 2 года назад
In any vs you can do that. But tostring is generally for use in code.