comparison Sphinx/source/users/docker.rst @ 184:f6216b3271c0

gdb
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Jan 2019 08:39:01 +0100
parents e48ed865e8cd
children 6fd3eae67f6a
comparison
equal deleted inserted replaced
183:e48ed865e8cd 184:f6216b3271c0
200 command-line session can be started as follows:: 200 command-line session can be started as follows::
201 201
202 $ sudo docker run -i -t --rm --entrypoint=bash --network=host --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug 202 $ sudo docker run -i -t --rm --entrypoint=bash --network=host --cap-add=SYS_PTRACE -p 4242:4242 -p 8042:8042 jodogne/orthanc-debug
203 # gdb --args Orthanc /etc/orthanc/ --verbose 203 # gdb --args Orthanc /etc/orthanc/ --verbose
204 204
205 Exceptions can be automatically caught by launching ``gdb`` as follows::
206
207 # gdb --ex 'catch t' --ex r --ex bt --args ./Orthanc /etc/orthanc/ --verbose
208
205 Note that: 209 Note that:
206 210
207 * The plugins are not available in this image yet. 211 * The plugins are not available in this image yet.
208 212
209 * The Orthanc source code can be found in folder ``/root/orthanc``. 213 * The Orthanc source code can be found in folder ``/root/orthanc``.