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

Side by Side Diff: src/debug.cc

Issue 10875072: Enable/disable LiveEdit using the (C++) debug API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« src/debug.h ('K') | « src/debug.h ('k') | src/runtime.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 } 2397 }
2398 } 2398 }
2399 2399
2400 2400
2401 Debugger::Debugger(Isolate* isolate) 2401 Debugger::Debugger(Isolate* isolate)
2402 : debugger_access_(isolate->debugger_access()), 2402 : debugger_access_(isolate->debugger_access()),
2403 event_listener_(Handle<Object>()), 2403 event_listener_(Handle<Object>()),
2404 event_listener_data_(Handle<Object>()), 2404 event_listener_data_(Handle<Object>()),
2405 compiling_natives_(false), 2405 compiling_natives_(false),
2406 is_loading_debugger_(false), 2406 is_loading_debugger_(false),
2407 is_live_edit_enabled_(true),
2407 never_unload_debugger_(false), 2408 never_unload_debugger_(false),
2408 force_debugger_active_(false), 2409 force_debugger_active_(false),
2409 message_handler_(NULL), 2410 message_handler_(NULL),
2410 debugger_unload_pending_(false), 2411 debugger_unload_pending_(false),
2411 host_dispatch_handler_(NULL), 2412 host_dispatch_handler_(NULL),
2412 dispatch_handler_access_(OS::CreateMutex()), 2413 dispatch_handler_access_(OS::CreateMutex()),
2413 debug_message_dispatch_handler_(NULL), 2414 debug_message_dispatch_handler_(NULL),
2414 message_dispatch_helper_thread_(NULL), 2415 message_dispatch_helper_thread_(NULL),
2415 host_dispatch_micros_(100 * 1000), 2416 host_dispatch_micros_(100 * 1000),
2416 agent_(NULL), 2417 agent_(NULL),
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
3655 { 3656 {
3656 Locker locker; 3657 Locker locker;
3657 Isolate::Current()->debugger()->CallMessageDispatchHandler(); 3658 Isolate::Current()->debugger()->CallMessageDispatchHandler();
3658 } 3659 }
3659 } 3660 }
3660 } 3661 }
3661 3662
3662 #endif // ENABLE_DEBUGGER_SUPPORT 3663 #endif // ENABLE_DEBUGGER_SUPPORT
3663 3664
3664 } } // namespace v8::internal 3665 } } // namespace v8::internal
OLDNEW
« src/debug.h ('K') | « src/debug.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698