Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: src/debug/debug-scopes.h

Issue 1834633003: [debugger] allow debug-evaluate to change stack and context values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_DEBUG_SCOPES_H_ 5 #ifndef V8_DEBUG_DEBUG_SCOPES_H_
6 #define V8_DEBUG_DEBUG_SCOPES_H_ 6 #define V8_DEBUG_DEBUG_SCOPES_H_
7 7
8 #include "src/debug/debug-frames.h" 8 #include "src/debug/debug-frames.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Set variable value and return true on success. 69 // Set variable value and return true on success.
70 bool SetVariableValue(Handle<String> variable_name, Handle<Object> new_value); 70 bool SetVariableValue(Handle<String> variable_name, Handle<Object> new_value);
71 71
72 Handle<ScopeInfo> CurrentScopeInfo(); 72 Handle<ScopeInfo> CurrentScopeInfo();
73 73
74 // Return the context for this scope. For the local context there might not 74 // Return the context for this scope. For the local context there might not
75 // be an actual context. 75 // be an actual context.
76 Handle<Context> CurrentContext(); 76 Handle<Context> CurrentContext();
77 77
78 // Populate the list with collected non-local variable names. 78 // Populate the dictionary with collected non-local variable names.
79 void GetNonLocals(List<Handle<String> >* list_out); 79 Handle<NameDictionary> GetNonLocals();
80 80
81 bool ThisIsNonLocal(); 81 bool ThisIsNonLocal();
82 82
83 #ifdef DEBUG 83 #ifdef DEBUG
84 // Debug print of the content of the current scope. 84 // Debug print of the content of the current scope.
85 void DebugPrint(); 85 void DebugPrint();
86 #endif 86 #endif
87 87
88 private: 88 private:
89 struct ExtendedScopeInfo { 89 struct ExtendedScopeInfo {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void GetNestedScopeChain(Isolate* isolate, Scope* scope, 158 void GetNestedScopeChain(Isolate* isolate, Scope* scope,
159 int statement_position); 159 int statement_position);
160 160
161 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); 161 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
162 }; 162 };
163 163
164 } // namespace internal 164 } // namespace internal
165 } // namespace v8 165 } // namespace v8
166 166
167 #endif // V8_DEBUG_DEBUG_SCOPES_H_ 167 #endif // V8_DEBUG_DEBUG_SCOPES_H_
OLDNEW
« no previous file with comments | « src/debug/debug-evaluate.cc ('k') | src/debug/debug-scopes.cc » ('j') | src/factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698