I thought I already know this topic, but "pin" and "action" are new to me. Glad that I watched it! Thanks, as always!
@IAmTimCorey4 жыл бұрын
I am glad you learned something new.
@k42p3r7 жыл бұрын
What a great tutorial - even though the sound was a bit low. Thanks!
@tomthelestaff-iamtimcorey75973 жыл бұрын
Thanks for watching!
@MrLuckyalmond4 жыл бұрын
Action is going to be extremely useful for me going forward. Thanks, Tim!
@IAmTimCorey4 жыл бұрын
Great!
@RalfsBalodis4 жыл бұрын
0:00 - Getting an exception 2:12 - Creating a break point and how does it work 4:21 - Step Into (Breakpoint controls) and debugging. 12:16 - Breakpoint pinned values 15:41 - Breakpoint Actions - logging breakpoint values 19:28 - Breakpoint Conditions - hit breakpoint under conditions 22:45 - Step Out (Breakpoint controls) - go through method you stepped in 25:18 - Step Over (Breakpoint controls) - don't go in to called methods
@IAmTimCorey4 жыл бұрын
Thanks! I added it to the description.
@kylenleonidas11313 жыл бұрын
Instablaster
@summerbreeze25syria4 жыл бұрын
I have been coding since 6 and I have never thought of using this, Thank you for the demonstration.
@IAmTimCorey4 жыл бұрын
You are welcome.
@AmandeepSingh-xk4yv4 жыл бұрын
What do you mean since 6, lol?
@summerbreeze25syria4 жыл бұрын
@@AmandeepSingh-xk4yv I meant 6 years ago
@scottlachance29147 жыл бұрын
Tim, your videos are really great learning tools. You voice is perfect for this (you must have taken public speaking) Can you cover the topic of remote debugging in the future? I have seen many times where on my dev machine the code runs fine, but out on a production PC with the same application installed we have run-time issues. keep up the excellent videos, Thanks
@jaxparrow17942 жыл бұрын
Sir, this video has been invaluable.
@IAmTimCorey2 жыл бұрын
Great!
@TheRedjinator3 жыл бұрын
Thank you! I wish more information I went looking for was explained so well.
@IAmTimCorey3 жыл бұрын
I have deep explanations of a lot of C# topics on this channel.
@lycagos12786 жыл бұрын
perfect tutorial about debugging
@IAmTimCorey6 жыл бұрын
Thanks!
@davidramirez33225 жыл бұрын
Thank U very much! very helpfull and powerfull doing things well since details.
@IAmTimCorey5 жыл бұрын
You are most welcome. Thanks for watching.
@mgcmsn5 жыл бұрын
God bless you!
@IAmTimCorey5 жыл бұрын
Thank you!
@Alquien1311 ай бұрын
Here comes a very useful tip: If an error occurs in an extensive loop pass, you know in which line it happens, but not in which pass. In such a case, it helps to set a debug point on the line in question and to set a number of hits as a condition that is so high that it can never be reached (e.g. 99999). If you run the application again and the error occurs, you can move the mouse over the debug point and see how many runs it took. Then change the number of hits to exactly this value and run the application again. Now the execution stops exactly at the line that caused the error and this happens in the pass in which the error occurs. Now you can look at the values of the variables and see what doesn't fit.
@IAmTimCorey11 ай бұрын
Thanks for sharing!
@audunjohansen4 жыл бұрын
Thanks, great Video :)
@IAmTimCorey4 жыл бұрын
Glad you liked it!
@rashidselemani4752 жыл бұрын
Thanks you Sir!!!
@IAmTimCorey2 жыл бұрын
You are welcome.
@WaldemarCoding7 жыл бұрын
Well done 👍
@ikazuchi-san57723 жыл бұрын
wish i knew about this before i used to place variables before the error came and comment the rest of the code its much better now - thx
@tomthelestaff-iamtimcorey75973 жыл бұрын
Thanks for growing your skills with Tim
@itshassanaziz2 жыл бұрын
Hard to hear you, sound is very low. Great video though. Explained well and in a simple manner.
@IAmTimCorey2 жыл бұрын
Glad you found it valuable.
@ZeroSleap5 жыл бұрын
About getting a general idea where an exception is thrown,in the first run of the program the program shows the line an exception occured so i guess one can start from there.
@IAmTimCorey5 жыл бұрын
That is a good place to start, although that line number can be deceiving.
@confidential3035 жыл бұрын
I have some debugging experience and therefore I really Like Visual Studio learning programming in C#. But, I am really wandering if with other languages like Java, Python also have (advanced) debugging options ..because without debugging sourcecode I will not like to program in it!
@IAmTimCorey5 жыл бұрын
All languages have some way of debugging. Visual Studio does have really nice tools though.
@2rivan7 жыл бұрын
Why are you use "FirstName.Substring" instead of "FirstName[i]" ? Is it better for perfomance or something like this?
@2rivan7 жыл бұрын
Thank you!
@timothyphillips32826 жыл бұрын
thanks
@RuhulAmin-og7wi3 жыл бұрын
nice video... where i can get all o these source code? can anybody help?
@tomthelestaff-iamtimcorey75973 жыл бұрын
The initial code is so short, I believe Tim assumed you could type it as easily as download it.