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 |
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2013-08-20
-
RaphaelPrentki
Home
Plugins
Sandbox for tests
Support
Alice
Atlas
CMS
LHCb
Public Webs
Sandbox Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
PDF version
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Cern Search
TWiki Search
Google Search
Sandbox
All webs
E
dit
A
ttach
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