Introduction To Debugging
Introduction To Debugging
by Adnan Bharmal
Debugging Web Applications
1 2 3
Isolate
Isolate the problematic code and create test cases to
reproduce the issue.
Debugging Asynchronous Code
Callbacks
1 Debug issues with asynchronous callbacks, such as race
conditions or incorrect execution order.
Promises
2 Resolve problems with Promise chaining, error handling,
and unexpected asynchronous behavior.
Async/Await
3 Identify and fix issues related to the correct use of
async/await syntax.
Debugging Runtime Errors
Exceptions Crashes
Identify and handle unexpected runtime exceptions, such Investigate and resolve program crashes or freezes that
as null pointer or division by zero. prevent normal execution.