Problem X with Application Y. Troubleshooting steps?
So let's say I have an issue with AppY. It doesn't do X when it's supposed to.
Where do you begin to troubleshoot it? And at what point do you assume it's a bug in the app?
The only step I can think of is run the app in terminal to get the stdout/stderr but other than that I'm not sure. Is there anything else one can do other than sifting through source code?
EDIT: Answer: No.
Edited 15 Apr 2016. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 4etzue
11 comments
You ask a very general question with almost no information for anyone to give you a useful answer.
If application Y provides a logging facility (i.e. a text file), try running it with verbose logging and attempt to get it to do X so relevant log messages are generated.
If no logging facility exists, then the app sucks.
If you have programming experience and access to the source code, compile the code with debugging symbols enabled, set a breakpoint near the offending code, and step through it.
I am making a big assumption that the program is C or C++ below.
For example,
Or you can use an IDE like codeblocks or QtCreator with the gdb plugin.
It was supposed to be generic, to prevent application specific answers. I.e. I was wondering if there was any universal troubleshooting techniques I didn't know about.
So you have basically answered my question: it depends on the application's log or debugging the source code.
strace can reveal things like permission problems
Application logs are crucial.
I work in an environment where some of the hardware is from the 1980s-1990s and logging was implemented as an afterthought, at best.
Troubleshooting technical issues can be very challenging on those systems. It helps to ask the right questions, get your hands on any relevant information available, and ask the people who built the system, if that option exists.
Universal troubleshooting:
Is it an X compatible app?
Since you ask, the problem is with
deepin-screenshot(official repos). I'm using KDE Plasma 5 and it fails to copy the screenshot to the clipboard, as well as fails to save it to file in some cases (autosave).:-) it was a pun