How to debug elisp?

The debugger (edebug) is pretty straight forward to use. Go to the definition of the function, and type M-x edebug-defun. The next time it is called, you’ll be able to step through the code as with every other debugger. Type ? for the list of keybindings, or check out the documentation for edebug.

Is there a non-installable version of Fiddler, or equivalent? [closed]

In fact, Fiddler Classic does not need to be installed: Download Fiddler Classic setup (ie. FiddlerSetup.exe) Open it with your Archive Manager (ie. 7-Zip) Open $PLUGINSDIR folder Open the contained FiddlerSetup.exe (yes again) in your Archive Manager Extract the files in a folder Run Fiddler.exe For Fiddler Everywhere, it is almost the same Download Fiddler … Read more

Debug PostgreSQL function using pgAdmin

You have to enable debugging in two places. On PGAdmin and on the database itself. That article you referenced does a wonderful job explaining it but there were some nuances. PGAdmin When updating your postgresql.conf file to load the debugging library, I was running PGAdmin on Windows so the file was here: C:\Program Files\PostgreSQL\9.4\data\postgresql.conf And … Read more

How to get the stacktrace of a panic (and store as a variable)

Like @Volker mentioned above, and what was posted as a comment, we can use the runtime/debug package. package main import ( “fmt” “runtime/debug” ) func main() { defer func() { if r := recover(); r != nil { fmt.Println(“stacktrace from panic: \n” + string(debug.Stack())) } }() var mySlice []int j := mySlice[0] fmt.Printf(“Hello, playground %d”, … Read more

How to enable loglevel debug on Apache2 server [closed]

Do note that on newer Apache versions the RewriteLog and RewriteLogLevel have been removed, and in fact will now trigger an error when trying to start Apache (at least on my XAMPP installation with Apache 2.4.2): AH00526: Syntax error on line xx of path/to/config/file.conf: Invalid command ‘RewriteLog’, perhaps misspelled or defined by a module not … Read more