Skip to content

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.

0 points11 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 100% up
Kind
Text
ID
4etzue

Author

8
posts
146
comments
5
media
View profile

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,

  # gcc -g myprog.c -o myprog
  # gdb myprog

Or you can use an IDE like codeblocks or QtCreator with the gdb plugin.

3 points

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.

2 points

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.

2 points

Universal troubleshooting:

  • Start program in terminal, look at output
  • Google your exact problem
  • If you didn't get any closer to the solution, post your exact issue with as many information surrounding it as possible
3 points

Is it an X compatible app?

1 points

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).

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.