##
Debuggable Single User Build

To build from source with full debugging symbols, first build a full static (non_debug) build as follows but instead of using /tmp substitute your permanent disk path if you want to keep it.

    cd /<repo_path>/
    git clone --depth 1 git://git.cinelerra-gg.org/goodguy/cinelerra.git cinelerra5
    cp -a /<repo_path>/cinelerra-5.1 /tmp/
    cd /tmp/cinelerra-5.1
    ./bld.sh

Then, to run as a developer in the debugger:

    CFLAGS="-O2 -ggdb" make -j8 rebuild_all
    cd cinelerra
    gdb ./ci

When you get the gdb prompt, type the letter "r", for run, and the windows will come up. If there is a crash, the windows will freeze and typing "bt" for backtrace in the startup window after the gdb prompt, provides useful information.