Debug Packages

Posted on April 7, 2014 by

We try our best to be a stable dependable runtime, but if you are reaching into the deep dark abyss of the PHP language, you might stumble upon a dark corner where we segfault or assert. First of all, we are sorry. Secondly, we would love you to report the issue, and if you can put together a small test case that is best. If it only reproduces under the full moon when you hold your head to the side and hop on one leg, then a stacktrace would be next best.

Before today, you had to compile the code by hand to get a useful stack trace. No longer! Using the same repo you normally use, add -dbg to the name of your package.

sudo apt-get install hhvm-dbg  # old faithful
sudo apt-get install hhvm-nightly-dbg  # the new hotness

The package is much larger, slower and has a bajillion asserts in it, so please don’t use it in production. Please DO use it for reporting stack traces and for diving into HHVM with gdb. Happy debugging.

Posted in Uncategorized | Leave a reply

6 responses to “Debug Packages”

  1. bob says:

    Why no freebsd package?

  2. Jorge G says:

    Why no MacOS package?

  3. Luke says:

    Thanks for making it easier for us to help improve this project!

  4. Thomas says:

    Log trace can be found in /tmp with the following format

Leave a Reply

Your email address will not be published. Required fields are marked *