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)
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*"
Favorites infavorites:mine
Status closed:yes
Types is:question
Exclude -[tag]
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

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
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
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
This blurb on the Sun Studio 12 website would seem to imply that they're basically useless. excerpt - If Your Core File Is Truncated …
answered Sep 14 '14 by slm
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. …
answered Nov 10 '13 by slm
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
, 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
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
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
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
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