Part 7 Advanced debugging using watch window
Link for all dot net and sql server video tutorial playlists
http://www.youtube.com/user/kudvenkat/playlists
Link for slides, code samples and text version of the video
http://csharp-video-tutorials.blogspot.com/2014/04/part-7-advanced-debugging-using-watch_28.html
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation=1
When the application is in debug mode and if we navigate to Debug - Windows - Watch, you will see that there are 4 watch windows.
Have you ever wondered the use of multiple watch windows?
Multiple watch windows are useful when you want to compare 2 object properties during debugging.
Place a breakpoint on the foreach loop in the Main() method and run the application in debug mode. When the application execution stops at the break point, open 2 watch windows by going to Debug - Windows - Watch menu.
In Watch 1 window, type customer[0] in Name column and press Enter key. Along the same lines in Watch 2 window, type customer[1] in Name column and press Enter key. Notice that now you have the opportunity 2 inspect 2 customer object properties.
Is it possible to get a copy of the object from one watch window to another watch window.
Yes, simply drag and drop. If you change a property of the object in one watch window, the change will be automatically reflected in the other watch window.
Is it possible to replace the current object instance with a new object instance
Yes, simply create a new object instance in immediate window. For example the Watch 1 window below displays the first customer object in customers collection.
To replace the current Customer object in customers[0] location. Open Immediate window by going to Debug - Windows - Immediate. Type the following command in Immediate window and press Enter key.
customers[0] = new Customer()
Notice that the Watch 1 windows now displays, the default values of the new Customer object that we have created.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Part 7 Advanced debugging using watch window», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.