If you’re building from dports, and you want to include debugging information, you’ll want to put ‘WITH_DEBUG=yes’ in /etc/make.conf. Note that this affects anything you build at that point, including world, which you’d want to rebuild anyway.
One Reply to “Debugging tips”
Comments are closed.
actually I don’t think it affects world.
You’d need to set DEBUG_FLAGS=-g or something for world.