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

Side by Side Diff: src/api.cc

Issue 549057: Implement issue 554 Add "ProcessDebuggerRequests" call to Debug Agent API (Closed)
Patch Set: clean up Created 10 years, 11 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
« no previous file with comments | « include/v8-debug.h ('k') | src/execution.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3726 matching lines...) Expand 10 before | Expand all | Expand 10 after
3737 kArgc, 3737 kArgc,
3738 argv); 3738 argv);
3739 EXCEPTION_BAILOUT_CHECK(Local<Value>()); 3739 EXCEPTION_BAILOUT_CHECK(Local<Value>());
3740 return scope.Close(result); 3740 return scope.Close(result);
3741 } 3741 }
3742 3742
3743 3743
3744 bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) { 3744 bool Debug::EnableAgent(const char* name, int port, bool wait_for_connection) {
3745 return i::Debugger::StartAgent(name, port, wait_for_connection); 3745 return i::Debugger::StartAgent(name, port, wait_for_connection);
3746 } 3746 }
3747
3748 void Debug::ProcessDebugMessages() {
3749 i::Execution::ProcessDebugMesssages(true);
3750 }
3751
3747 #endif // ENABLE_DEBUGGER_SUPPORT 3752 #endif // ENABLE_DEBUGGER_SUPPORT
3748 3753
3749 namespace internal { 3754 namespace internal {
3750 3755
3751 3756
3752 HandleScopeImplementer* HandleScopeImplementer::instance() { 3757 HandleScopeImplementer* HandleScopeImplementer::instance() {
3753 return &thread_local; 3758 return &thread_local;
3754 } 3759 }
3755 3760
3756 3761
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
3822 3827
3823 3828
3824 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { 3829 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) {
3825 HandleScopeImplementer* thread_local = 3830 HandleScopeImplementer* thread_local =
3826 reinterpret_cast<HandleScopeImplementer*>(storage); 3831 reinterpret_cast<HandleScopeImplementer*>(storage);
3827 thread_local->IterateThis(v); 3832 thread_local->IterateThis(v);
3828 return storage + ArchiveSpacePerThread(); 3833 return storage + ArchiveSpacePerThread();
3829 } 3834 }
3830 3835
3831 } } // namespace v8::internal 3836 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8-debug.h ('k') | src/execution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698