Mercurial > hg > orthanc-book
view Sphinx/source/users/docker.rst.BAK @ 1013:ab270400aae1
python: overriding core API
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 09 Jan 2024 11:50:17 +0100 |
parents | 23a54088d604 |
children | a3436ae3709c |
line wrap: on
line source
For developers and power users, the images ``jodogne/orthanc-debug`` contain the Orthanc core compiled in debug mode (i.e. with runtime assertions enabled, and including debugging symbols). A ``gdb`` command-line session can be started as follows:: $ docker run -i -t --rm --entrypoint=bash --network=host --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug # gdb --args Orthanc /etc/orthanc/ --verbose Exceptions can be automatically caught by launching ``gdb`` as follows:: # gdb --ex 'catch t' --ex r --ex bt --args ./Orthanc /etc/orthanc/ --verbose Note that: * The plugins are not available in this image yet. * The Orthanc source code can be found in folder ``/root/orthanc``. * The build artifacts can be found in folder ``/root/orthanc/Build``. * This command launches the mainline version. To start a released version, use e.g. ``jodogne/orthanc-debug:1.12.2``.