Mastering Debugging C & Java 

C is a procedural programming language. It was initially developed by Dennis Ritchie in the year 1972. It was mainly developed as a system programming language to write an operating system. The main features of C language include low-level access to memory, a simple set of keywords, and clean style, these features make C language suitable for system programmings like an operating system or compiler development.
Many later languages have borrowed syntax/features directly or indirectly from C language. Like syntax of Java, PHP, JavaScript, and many other languages are mainly based on C language

Mastering Debugging C & Java

Section : Introduction

 

. Course Breakdown

 

Section : Making code readable

 

. Syntax highlighting

 

 

. Giving variables clear names

 

 

. Don’t Repeat Yourself (The DRY Rule)

 

 

. Adding a for loop to remove repeated code

 

 

. Practice: Adding for loops to improve readability

 

 

. Adding a function to remove repeated code

 

 

. When and where to add comments to the program

 

 

. How to comment in common programming languages

 

 

. Making functions as short as possible

 

 

. Practice: Splitting a large function into multiple smaller functions

 

 

. Formatting code properly

 

 

. Putting similar blocks of code together

 

 

. Indentation and line length

 

 

. The golden rules of writing readable programs

 

 

Section : Debugging C programs using GDB

 

. Compiling C programs

 

 

. Opening a teral

 

 

. Installing GDB on Linux

 

 

. Installing LLDB On Mac

 

 

. Installing GDB on Windows

 

 

. Using onlinegdb.com

 

 

. The essential GDB commands

 

 

. Breakpoints and Watchpoints

 

 

. Extra GDB Commands

 

 

. Summary of all the GDB commands

 

 

. Practice: Using GDB to fix common errors in C

 

 

. Program 1

 

 

. Program 2

 

 

. Program 3

 

Section : Debugging Java Programs in Eclipse

 

 

. Using JDB – An alternative to Eclipse

 

 

. Installing Eclipse on Mac and Windows

 

 

. Installing Eclipse on Linux

 

 

. Debugging our first program in Eclipse

 

 

. Adding breakpoints in Eclipse

 

 

. Adding watchpoints in Eclipse

 

 

. Exception Breakpoints

 

 

. Watching Expressions

 

 

. Display data collections whilst debugging

 

 

. A summary of debugging Java programs in Eclipse

 

 

. Practice: Using Eclipse to debug some simple Java programs

 

 

. Program 1

 

 

. Program 2

 

 

. Program 3

More than 20000 students on Udemy

  • 4.1 Instructor Rating
  • Best Seller Course
  • Highest Rated Course
  • Courses used by udemy for business clients.

210K students on our platform

  • Unlimited access to all courses.
  • Top Courses for every trending technologies.
  • 4.5 Average ratings for all the courses.
  • Certificate Internationally accepted.

Learn at your pace

Courses Made By Industry Experts

Enhance your career

Enroll NowContact us