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).

Step Command Comment

     
1
gdb
Opens the gdb debugger software
2
file ./x86_64-slc6-gcc47-opt/trpgui
Defines a file to work on
3
b trp_mainwindow.cpp::654
Creates a breakpoint. Can defines as many breakpoints as needed
4
run ./x86_64-slc6-gcc47-opt/trpgui -c share/trp_gui_conf.xml -p ATLAS -f TriggerRates _ATLAS_208189.root
Runs the TRP on gdb
5
c
Continues to run until the next breakpoint
6
n
Next line in code
7
s
Next step in code
8
up
Previous step in code
9
p var
Print the value of a variable
10   Wait for crash to happen
11
bt
Backtrace
12
frame n
Display line # n before crash (n=0 at crash)
13
kill
Kills the program execution
14
q
Quits gdb
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-08-20 - RaphaelPrentki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 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