Debugging


For debugging there are some very basic options already available in potfit:

If you compile potfit with the debug target, the binary will give you some additional output.

If you need additional output of variables or other things, you will have to do this manually in the sourcecode.

Profiling

In the Makefile there are some options to enable profiling support in the binaries. This can be activated with the prof target.