Mercurial > hg > orthanc-book
comparison Sphinx/source/faq/debugging.rst @ 1000:2e103fb1fa11
Orthanc 1.12.2
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 19 Dec 2023 17:54:15 +0100 |
parents | 46e2941b57dd |
children | b7835da59750 |
comparison
equal
deleted
inserted
replaced
998:bd7fbe3042f7 | 1000:2e103fb1fa11 |
---|---|
43 `LSB - Linux Standard Base SDK | 43 `LSB - Linux Standard Base SDK |
44 <https://en.wikipedia.org/wiki/Linux_Standard_Base>`__). This allows | 44 <https://en.wikipedia.org/wiki/Linux_Standard_Base>`__). This allows |
45 to debug Orthanc without compiling from sources. Here is a sample | 45 to debug Orthanc without compiling from sources. Here is a sample |
46 debug session:: | 46 debug session:: |
47 | 47 |
48 $ wget https://lsb.orthanc-server.com/orthanc/debug/1.12.1/Orthanc | 48 $ wget https://lsb.orthanc-server.com/orthanc/debug/1.12.2/Orthanc |
49 $ chmod +x ./Orthanc | 49 $ chmod +x ./Orthanc |
50 $ gdb ./Orthanc Configuration.json | 50 $ gdb ./Orthanc Configuration.json |
51 (gdb) catch throw | 51 (gdb) catch throw |
52 Catchpoint 1 (throw) | 52 Catchpoint 1 (throw) |
53 (gdb) run | 53 (gdb) run |
54 W0513 15:24:42.374349 main.cpp:1436] Orthanc version: 1.12.1 | 54 W0513 15:24:42.374349 main.cpp:1436] Orthanc version: 1.12.2 |
55 ---> Reproduce your error case <--- | 55 ---> Reproduce your error case <--- |
56 Thread 15 "Orthanc" hit Catchpoint 1 (exception thrown), 0x00007ffff6de68bd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | 56 Thread 15 "Orthanc" hit Catchpoint 1 (exception thrown), 0x00007ffff6de68bd in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 |
57 (gdb) backtrace | 57 (gdb) backtrace |
58 #0 0x00007ffff6de68bd in __cxa_throw () | 58 #0 0x00007ffff6de68bd in __cxa_throw () |
59 from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | 59 from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 |