5 Debugging Tips Every Developer Should Know | Build a Startup #7




[ad_1]

Here the 5 debugging tips every programmer should know!

Link to the source code I used today: https://github.com/ykdojo/editdojo
Join our community on Discord: https://csdojo.io/d

Source


[ad_2]

Comment List

  • CS Dojo
    November 28, 2020

    Hey guys, I recommend 1.25x or 1.5x speed if you want to get through the video quickly.

    Also, here’s the source code I used today: https://github.com/ykdojo/editdojo

  • CS Dojo
    November 28, 2020

    Hello YK how are you ! do you have some email or something to contact or slack channel?

  • CS Dojo
    November 28, 2020

    Four hours for the most simplest bug… I can relate way too much to that. Hopefully it wasn't too bad! =)

  • CS Dojo
    November 28, 2020

    I Just discovered ur channel, it's a good mine

  • CS Dojo
    November 28, 2020

    debugging is the core of programming skill IMO. and also hacking as well!

  • CS Dojo
    November 28, 2020

    Thank you Bro for this session
    Please take a look at :-https://www.csmates.com/2020/07/what-is-debugging-in-computer.html

  • CS Dojo
    November 28, 2020

    what is that spray behind CS Dojo ?

  • CS Dojo
    November 28, 2020

    What's the steam thing for in the background?

  • CS Dojo
    November 28, 2020

    Nice video! Beautifully summarized. On a similar topic, I have made a video about debugging habits a developer should avoid. Viewers welcomed there. 🙂

  • CS Dojo
    November 28, 2020

    Sometimes I fix bugs in my code accidentally 😀

  • CS Dojo
    November 28, 2020

    Thanks for your experience. Very helpful. 👏

  • CS Dojo
    November 28, 2020

    I took python las semester and the upcoming semester will be debugging…. this was extremely helpful thank you

  • CS Dojo
    November 28, 2020

    Thank you very much for sharing! 😉

  • CS Dojo
    November 28, 2020

    Thank you,i will always like your videos. I will learn lots of basic and tip,tricks.

  • CS Dojo
    November 28, 2020

    For me programing = 20% writting code + 80% debugging

  • CS Dojo
    November 28, 2020

    Tip #1: check if is plugged…

  • CS Dojo
    November 28, 2020

    I would also recommend seeing following logs to understand the bug better, such as
    1. Application log
    2. Web server log (Apache/Tomcat/Anything?)
    3. Database log (if relevant)
    4. In this case it can be API Provider official error documentation page. For info on error code and its description. Which can also pinpoint what can be the issue exactly.
    5. Last but not least I may be checking server logs(linux/Anything?). For instance, memory allocation issue or disk space or anything.

    I hope it helps

  • CS Dojo
    November 28, 2020

    anyone from 2020 ?

    Here's a great course for you to boost your programming skills!! https://stude.co/701199/how-to-improve-creativity

  • CS Dojo
    November 28, 2020

    Wow! So It's like to be a detector! I haven't known about debugging correctly, but you spot it on to me. Thank you Dojo!

  • CS Dojo
    November 28, 2020

    This was a very valuable video! I literally said "when debugging use print statements effectively" in an interview a got the job lol… Thanks for sharing!

  • CS Dojo
    November 28, 2020

    thank you so much for this effort sir, but I wanna know if i follow the code will the program executes well? I mean is it ready to use if I copy & past your code? I am planning to make the same thing in my software engineering course project & I wanna be sure that it is working completely fine, coz I read the source code but could not understand =(

  • CS Dojo
    November 28, 2020

    i would not call debugging a waste of time.

  • CS Dojo
    November 28, 2020

    Great.. print statements is all I use for debugging too 🙂

  • CS Dojo
    November 28, 2020

    insted of thinking i waist 4 hours debugging it would be i spend four hors learning something new.
    Great Video i learn a lot too

  • CS Dojo
    November 28, 2020

    May I ask what happened to this project?

  • CS Dojo
    November 28, 2020

    Could you please put the list of tips in the Description of the video too?

  • CS Dojo
    November 28, 2020

    Is this the last video for this playlist? Will you be uploading more…dying to see what you do as a next step!

  • CS Dojo
    November 28, 2020

    can i host my django web app on hostgator?

  • CS Dojo
    November 28, 2020

    The print statement tip is very useful.

  • CS Dojo
    November 28, 2020

    1 – Understand how the program should work
    2 – read the documentation, source code
    3 – Get the list of normal errors (sometimes developers write warning messages like fatal errros, but it is just a warning). Errors that seems to be errors, but they are not errors.
    4 – Find a good tool (debugger)
    5 – Learn how to use the tool correctly
    6 – Reproduce the problem locally and force it to happen whenever you want just to examine it with the debugger. In case the problem happened in a remote system, debug the problem locally. It will help you to proof you fixed the problem correctly after you create a patch.
    7 – Create a hypotesis about the possible root cause of the problem

  • CS Dojo
    November 28, 2020

    What's up with the smoke between the mic and the laptop? 😂

  • CS Dojo
    November 28, 2020

    thanks dojo learned a lot

  • CS Dojo
    November 28, 2020

    i think dir() function usefull too, you can get list of valid attributes of the object

  • CS Dojo
    November 28, 2020

    Or you could just use assertions. Most of the bugs I used to run into were just because of some data somewhere not being set/reset/sent correctly. I almost don't have to debug anything since I've been asserting what I know should always be true everywhere, and when it's not I get a nice trace log as well to help me understand the specific case that breaks my program

  • CS Dojo
    November 28, 2020

    Relatable. Just the other day I spent 3 hours resolving a bug only to discover wrong variable was being passed in as arg.

  • CS Dojo
    November 28, 2020

    dude when is the next vid coming ??

  • CS Dojo
    November 28, 2020

    Thank you so much for this useful data ! Greatly appreciated.

  • CS Dojo
    November 28, 2020

    Sense you're using VScode, I think it would be helpful to create a break point on the line you want to print, right click and edit break point and click log message and type in the message there, you get the same functionality without cluttering up the code with print statement, great video also

  • CS Dojo
    November 28, 2020

    Here are some nice debugging stories on quora. https://www.quora.com/Whats-the-hardest-bug-youve-debugged

  • CS Dojo
    November 28, 2020

    This is a nice topic, learning new things and debugging are the 2 important things for any software developer.

  • CS Dojo
    November 28, 2020

    Can you please tell me how I can bug bounting hunting through which website or books..

  • CS Dojo
    November 28, 2020

    .

  • CS Dojo
    November 28, 2020

    use comments is helpful too.

  • CS Dojo
    November 28, 2020

    Nice video regarding debugging, but the error is funny😀

  • CS Dojo
    November 28, 2020

    Hey just tell the best environment of c++ and python

  • CS Dojo
    November 28, 2020

    great tips! thank you!

  • CS Dojo
    November 28, 2020

    i use my name too. Thanks for this vid

Write a comment