Skip to main content

Troubleshooting and debugging

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 :

  1. Gathering information.
  2. Finding the root cause.
  3. performing the necessary remediation. 
Note:Understanding the root cause is essential for performing the long-term remediation.

Comments

Popular posts from this blog

Authentication Authorization Accounting(week 3)

Identification is the idea of describing an entity uniquely. Biometric authentication is the process of using unique physiological characteristics of an individual to identify them. C.R.L(Certificate revocation list) :This is a signed list published by the CA which defines certificates that have been explicitly revoked. Lightweight Directory Access Protocol(LDAP): LDAP is an open industry-standard protocol for accessing and maintaining directory services. Authentication is related to verifying the identity a user, authorization pertains to describing what the user account has access to or doesn't have access to. An access control list or ACL , is a way of defining permissions or authorizations for objects.  RADIUS or Remote Authentication Dial-In User Service , is a protocol that provides AAA services for users on a network.It's a very common protocol used to manage access to internal networks, WiFi networks, email services and VPN services. when a client wants to access a r...

Can machine think?

In the previous, blog we understood the difference between Artificial Intelligence, Machine learning and Deep learning. If you haven’t read it yet I recommend you to read it first. Now let start with today’s topic. A.I. (Artificial Intelligence) is broad branch of computer science, the goal of A.I. is to create the system that can function intelligently and independently. The concept of A.I evolved during world war 2 to break the code message sent by German. The name of the machine was enigma. It work was to decrypt the code sent by German. There a movie created on the basis of this topic. The name of the movie is "The Imitation Game”. It’s a nice movie if you interest in A.I then you should watch it. This is how the evolution of A.I. started. With the help of A.I. we are trying to create a machine which can think like human. A.I. system is created similar to human brain. Human brain can lean by reading, seeing and though experience, similarly A.I. a...