The TRP code consists of a total of 9631 lines of code in 46 programs, distributed in three separate directories (numbers for version trp_gui-00-00-19). %TABLE{ columnwidths="50,450,450" }% | *Step* | *Command* | *Comment* | | | | | | 1 | <verbatim>gdb</verbatim> | Opens the gdb debugger software | | 2 | <pre><verbatim>file ./x86_64-slc6-gcc47-opt/trpgui</verbatim> </pre> | Defines a file to work on | | 3 | <pre><verbatim>b trp_mainwindow.cpp::654</verbatim> </pre> | Creates a breakpoint. Can defines as many breakpoints as needed | | 4 | <pre><verbatim>run ./x86_64-slc6-gcc47-opt/trpgui -c share/trp_gui_conf.xml -p ATLAS -f TriggerRates _ATLAS_208189.root</verbatim> </pre> | Runs the TRP on gdb | | 5 | <verbatim>c</verbatim> | Continues to run until the next breakpoint | | 6 | <verbatim>n</verbatim> | Next line in code | | 7 | <verbatim>s</verbatim> | Next step in code | | 8 | <verbatim>up</verbatim> | Previous step in code | | 9 | <pre><verbatim>p var</verbatim> </pre> | Print the value of a variable | | 10 | | Wait for crash to happen | | 11 | <pre><verbatim>bt</verbatim> </pre> | Backtrace | | 12 | <pre><verbatim>frame n</verbatim> </pre> | Display line # n before crash (n=0 at crash) | | 13 | <pre><verbatim>kill</verbatim> </pre> | Kills the program execution | | 14 | <verbatim>q</verbatim> | Quits gdb |
This topic: Sandbox
>
WebPreferences
>
TrpGuiDebug
Topic revision: r1 - 2013-08-20 - RaphaelPrentki
Copyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback