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
f93fe86b
Commit
f93fe86b
authored
14 years ago
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
jsdebugger: don't output function code. it's useless.
parent
63ca71c2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp
+4
-4
4 additions, 4 deletions
share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp
with
4 additions
and
4 deletions
share/qtcreator/qml/qmljsdebugger/jsdebuggeragent.cpp
+
4
−
4
View file @
f93fe86b
...
...
@@ -156,9 +156,9 @@ static QList<JSAgentWatchData> expandObject(const QScriptValue &object)
it
.
next
();
if
(
it
.
flags
()
&
QScriptValue
::
SkipInEnumeration
)
continue
;
if
(
object
.
isQObject
()
&&
it
.
value
().
isFunction
())
{
//
c
osmetics: skip all
signal
s and slot, there
is
too many of them,
//
and it is not useful
l
in the debugger.
if
(
/*
object.isQObject() &&
*/
it
.
value
().
isFunction
())
{
//
C
osmetics: skip all
function
s and slot, there
are
too many of them,
// and it is not useful
information
in the debugger.
continue
;
}
JSAgentWatchData
data
=
fromScriptValue
(
it
.
name
(),
it
.
value
());
...
...
@@ -440,7 +440,7 @@ void JSDebuggerAgent::messageReceived(const QByteArray& message)
QScriptValue
object
;
object
=
engine
()
->
objectById
(
objectId
);
if
(
object
.
isObject
())
{
if
(
object
.
isObject
())
{
QScriptValue
result
=
engine
()
->
evaluate
(
value
);
object
.
setProperty
(
property
,
result
);
}
...
...
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