Debugging को तरीके से करना
Bug का कारण कदम-दर-कदम ढूँढ पाओगे: उसे reproduce करना, traceback पढ़ना, दायरा छोटा करना, debugger से state देखना, fix करना और test से fix को साबित करना।
Beginner 3 · Data and toolsabout 1 hour5 sections
सीधा जवाब
Debugging का मतलब है ये ढूँढना कि code गलत क्यों चल रहा है। Bug reproduce करो, error पढ़ो, ढूँढो कि वो कहाँ से शुरू होता है, वहाँ की values देखो, कारण ठीक करो और एक test जोड़ो।
ये क्यों ज़रूरी है
Developer का ज़्यादातर समय ये समझने में जाता है कि कुछ चल क्यों नहीं रहा। अंदाज़ों से तरीका बेहतर है, और interviewers अक्सर पूछते हैं कि आप किसी bug को कैसे ढूँढोगे, ज़ोर से बोलकर समझाओ।
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Related
Software engineeringBeginner 3: Data and toolsVideo lessonsDebuggerBreakpointUnit test