Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
f70ce8dc
Commit
f70ce8dc
authored
16 years ago
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
debugger: add a menu entry for the (defunct) TCF attaching
parent
2fce747a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/debugger/debuggerplugin.cpp
+13
-0
13 additions, 0 deletions
src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/debuggerplugin.h
+1
-0
1 addition, 0 deletions
src/plugins/debugger/debuggerplugin.h
with
14 additions
and
0 deletions
src/plugins/debugger/debuggerplugin.cpp
+
13
−
0
View file @
f70ce8dc
...
...
@@ -99,6 +99,7 @@ namespace Constants {
const
char
*
const
STARTEXTERNAL
=
"Debugger.StartExternal"
;
const
char
*
const
ATTACHEXTERNAL
=
"Debugger.AttachExternal"
;
const
char
*
const
ATTACHCORE
=
"Debugger.AttachCore"
;
const
char
*
const
ATTACHTCF
=
"Debugger.AttachTcf"
;
const
char
*
const
ATTACHREMOTE
=
"Debugger.AttachRemote"
;
const
char
*
const
DETACH
=
"Debugger.Detach"
;
...
...
@@ -481,6 +482,14 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
m_attachCoreAction
->
setText
(
tr
(
"Attach to Core..."
));
connect
(
m_attachCoreAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
attachCore
()));
m_attachTcfAction
=
new
QAction
(
this
);
m_attachTcfAction
->
setText
(
tr
(
"Attach to Running TCF Agent..."
));
m_attachTcfAction
->
setToolTip
(
tr
(
"This attaches to a running "
"'Target Communication Framework' agent."
));
connect
(
m_attachTcfAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
attachRemoteTcf
()));
m_startRemoteAction
=
new
QAction
(
this
);
m_startRemoteAction
->
setText
(
tr
(
"Start and Attach to Remote Application..."
));
connect
(
m_startRemoteAction
,
SIGNAL
(
triggered
()),
...
...
@@ -508,6 +517,10 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
Constants
::
ATTACHCORE
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
cmd
=
am
->
registerAction
(
m_attachTcfAction
,
Constants
::
ATTACHTCF
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
cmd
=
am
->
registerAction
(
m_startRemoteAction
,
Constants
::
ATTACHREMOTE
,
globalcontext
);
mdebug
->
addAction
(
cmd
,
Core
::
Constants
::
G_DEFAULT_ONE
);
...
...
This diff is collapsed.
Click to expand it.
src/plugins/debugger/debuggerplugin.h
+
1
−
0
View file @
f70ce8dc
...
...
@@ -128,6 +128,7 @@ private:
QAction
*
m_startRemoteAction
;
QAction
*
m_attachExternalAction
;
QAction
*
m_attachCoreAction
;
QAction
*
m_attachTcfAction
;
QAction
*
m_detachAction
;
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment