Running NetXMS under debugger
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
The following example assumes that NetXMS is installed under /opt/netxms.
1. Start debugger:
# gdb /opt/netxms/bin/netxmsd
You should get debugger command line prompt:
(gdb)
2. Start application
(gdb) run -D2
Application should start and run. After the crash, debugger prompt will appear again:
(gdb)
3. Get stack trace:
(gdb) bt
Send command output to technical support.
4. Quit debugger
(gdb) quit