Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 7453

is a process of finding and reducing the number of bugs, or defects, in a computer program, thus making it behave as expected

50
votes
Using set -x I always use set -x and set +x. You can wrap areas that you want to see what's happening with them to turn verbosity up/down. #!/bin/bash set -x ..code to debug... set +x log4bash …
answered Sep 14 '14 by slm
2
votes
I use set -x to debug scripts all the time, and have only ever found the solution that @MichaelHomer suggests which makes use of the null utility (aka. : ..some comment...). When you're ready to mov …
answered Jul 9 '14 by slm
1
vote
The -g switch is what will enable gcc to compile your code with debugging symbols enabled. If you're not seeing any symbols then the issue is likely a library that you're compiling against, which … does not provide a version of the library with symbols enabled. See this SO Q&A: titled: How Does The Debugging Option -g Change the Binary Executable?. This SO Q&A also makes mention of debugging
answered Jan 22 '14 by slm
5
votes
This blurb on the Sun Studio 12 website would seem to imply that they're basically useless. excerpt - http://docs.oracle.com/cd/E19205-01/819-5257/blabs/index.html If Your Core File Is Truncated …
answered Sep 14 '14 by slm
0
votes
How are you connecting all of this? I found this simple client that connects with XDebug from Sublime. I believe you'd need to use something like this to facilitate the connection. https://github.co …
answered Nov 10 '13 by slm
0
votes
From the command line When debugging issues with synergy I'll typically enable more verbose debugging. On the server side: $ synergys -d <level> -f -c synergy.conf Where -d <level> can be a any … the debugging up to say DEBUG2 to start. Synergy should show you every transaction that's being made between the clients and the server. NOTE2: For the configuration file, you'll need to point it to …
answered Sep 21 '14 by slm
2
votes
, macro definition browser, code editor with syntax highlighting, folding and hyperlink navigation, source code refactoring and code generation, visual debugging tools, including memory, registers, and …
answered Nov 3 '13 by slm
14
votes
If you think about how strace works then it makes total sense that none of the builtins to Bash would be traceable. strace can only trace actual executables, whereas the builtins are not. For exampl …
answered Sep 15 '13 by slm
7
votes
You can enable/disable this feature through the use of the set command, and the option -x/+x. -x - After expanding each simple command, for command, case command, select command, or arithmetic f …
answered Oct 27 '14 by slm
11
votes
the console is not initialized, where is the output supposed to go? This is normally not an issue, unless you are debugging issues very early in the boot process (for example, in setup_arch … (), which performs architecture-specific initialization). Such debugging is a challenge to begin with, and the absence of any sort of print method only compounds the problem. There is some hope, but not …
answered Mar 10 '14 by slm
2
votes
without linking in the usual debugging stub. Example On the target machine You need to have a copy of the program you want to debug. gdbserver does not need your program's symbol table, so you can … so: target$ gdbserver comm --attach pid One the GDB host machine You need an unstripped copy of your program, since GDB needs symbols and debugging information. Start up GDB as usual, using the …
answered Dec 15 '13 by slm