# HG changeset patch # User Sebastien Jodogne # Date 1543840680 -3600 # Node ID 2c87e18ace3381f12bc243bedcdcafdb0b676399 # Parent 1e9764acdf95873326b3a52c78515697489d36f0 gdb and docker diff -r 1e9764acdf95 -r 2c87e18ace33 Sphinx/source/users/docker.rst --- a/Sphinx/source/users/docker.rst Sat Nov 24 13:18:02 2018 +0000 +++ b/Sphinx/source/users/docker.rst Mon Dec 03 13:38:00 2018 +0100 @@ -191,3 +191,11 @@ $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc $ sudo docker run -i -t --rm --entrypoint=bash jodogne/orthanc-plugins + +For developers, the images ``jodogne/orthanc-debug`` contain the +Orthanc core compiled in debug mode (with runtime assertions enabled, +and including debugging symbols). A ``gdb`` session can be started as +follows:: + + $ sudo docker run -i -t --rm --entrypoint=bash --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 orthanc-debug + # gdb --args Orthanc /etc/orthanc/