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

Side by Side Diff: src/vm/session.h

Issue 2065933004: Support for accessing arrays in the debugger (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 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 (c) 2014, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 #ifndef SRC_VM_SESSION_H_ 5 #ifndef SRC_VM_SESSION_H_
6 #define SRC_VM_SESSION_H_ 6 #define SRC_VM_SESSION_H_
7 7
8 #ifndef DARTINO_ENABLE_DEBUGGING 8 #ifndef DARTINO_ENABLE_DEBUGGING
9 #include "src/vm/session_no_debugging.h" 9 #include "src/vm/session_no_debugging.h"
10 #else // DARTINO_ENABLE_DEBUGGING 10 #else // DARTINO_ENABLE_DEBUGGING
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 void SignalMainThread(MainThreadResumeKind); 208 void SignalMainThread(MainThreadResumeKind);
209 209
210 void RequestExecutionPause(); 210 void RequestExecutionPause();
211 void PauseExecution(); 211 void PauseExecution();
212 void ResumeExecution(); 212 void ResumeExecution();
213 213
214 void SendStackTrace(Stack* stack); 214 void SendStackTrace(Stack* stack);
215 void SendDartValue(Object* value); 215 void SendDartValue(Object* value);
216 void SendInstanceStructure(Instance* instance); 216 void SendInstanceStructure(Instance* instance);
217 void SendArrayStructure(Array* array);
218 void SendStructure(Object* object);
217 void SendProgramInfo(ClassOffsetsType* class_offsets, 219 void SendProgramInfo(ClassOffsetsType* class_offsets,
218 FunctionOffsetsType* function_offsets); 220 FunctionOffsetsType* function_offsets);
219 void SendError(Connection::ErrorCode errorCode); 221 void SendError(Connection::ErrorCode errorCode);
220 222
221 void Push(Object* object) { stack_.Add(object); } 223 void Push(Object* object) { stack_.Add(object); }
222 Object* Pop() { return stack_.RemoveLast(); } 224 Object* Pop() { return stack_.RemoveLast(); }
223 Object* Top() const { return stack_.Last(); } 225 Object* Top() const { return stack_.Last(); }
224 int64_t PopInteger(); 226 int64_t PopInteger();
225 227
226 void PostponeChange(Change change, int count); 228 void PostponeChange(Change change, int count);
(...skipping 23 matching lines...) Expand all
250 Scheduler::ProcessInterruptionEvent CheckForPauseEventResult( 252 Scheduler::ProcessInterruptionEvent CheckForPauseEventResult(
251 Process* process, 253 Process* process,
252 Scheduler::ProcessInterruptionEvent result); 254 Scheduler::ProcessInterruptionEvent result);
253 }; 255 };
254 256
255 } // namespace dartino 257 } // namespace dartino
256 258
257 #endif // DARTINO_ENABLE_DEBUGGING 259 #endif // DARTINO_ENABLE_DEBUGGING
258 260
259 #endif // SRC_VM_SESSION_H_ 261 #endif // SRC_VM_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698