Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
c4d8d17b
Commit
c4d8d17b
authored
Jun 10, 2010
by
hjk
Browse files
debugger: make profiling the python dumpers _really_ optional
parent
f911d714
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
c4d8d17b
...
...
@@ -784,11 +784,11 @@ class FrameCommand(gdb.Command):
super
(
FrameCommand
,
self
).
__init__
(
"bb"
,
gdb
.
COMMAND_OBSCURE
)
def
invoke
(
self
,
args
,
from_tty
):
if
True
:
bb
(
args
)
else
:
if
args
.
startswith
(
"options:profile,"
):
import
cProfile
cProfile
.
run
(
'bb("%s")'
%
args
,
"/tmp/bbprof"
)
else
:
bb
(
args
)
FrameCommand
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment