Troubleshooting is the process of identifying, analyzing, and solving problems.
Debugging is the process of identifying, analyzing, and removing bugs in a system. We sometimes use troubleshooting and debugging interchangeably.
But generally, we say troubleshooting when we're fixing problems in the system running the application, and debugging when we're fixing the bugs in the actual code of the application.
Debuggers let us follow the code line by line, inspect changes in variable assignments, interrupt the program when a specific condition is met, and more.
System calls are the calls that the programs running on our computer make to the running kernel.
A reproduction case is a way to verify if the problem is present or not.
Where to check for log file in OS?
On Linux, you'd read system logs like /var/log/syslog and user-specific logs like the .xsession-errors file located in the user's home directory. On MacOs, on top of the system logs, you'd go through the logs stored in the library logs directory. On Windows, you'd use the Event Viewer tool to go through the event logs.
3 step to take in problem solving :
- Gathering information.
- Finding the root cause.
- performing the necessary remediation.
Comments
Post a Comment