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

Side by Side Diff: src/d8.cc

Issue 9200006: Fix remote debugger crash. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/d8-debug.h » ('j') | src/d8-debug.h » ('J')
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 1438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 Testing::DeoptimizeAll(); 1449 Testing::DeoptimizeAll();
1450 } else { 1450 } else {
1451 result = RunMain(argc, argv); 1451 result = RunMain(argc, argv);
1452 } 1452 }
1453 1453
1454 1454
1455 #if !defined(V8_SHARED) && defined(ENABLE_DEBUGGER_SUPPORT) 1455 #if !defined(V8_SHARED) && defined(ENABLE_DEBUGGER_SUPPORT)
1456 // Run remote debugger if requested, but never on --test 1456 // Run remote debugger if requested, but never on --test
1457 if (i::FLAG_remote_debugger && !options.test_shell) { 1457 if (i::FLAG_remote_debugger && !options.test_shell) {
1458 InstallUtilityScript(); 1458 InstallUtilityScript();
1459 RunRemoteDebugger(i::FLAG_debugger_port); 1459 RunRemoteDebugger(i::FLAG_debugger_port, utility_context_);
1460 return 0; 1460 return 0;
1461 } 1461 }
1462 #endif // !V8_SHARED && ENABLE_DEBUGGER_SUPPORT 1462 #endif // !V8_SHARED && ENABLE_DEBUGGER_SUPPORT
1463 1463
1464 // Run interactive shell if explicitly requested or if no script has been 1464 // Run interactive shell if explicitly requested or if no script has been
1465 // executed, but never on --test 1465 // executed, but never on --test
1466 1466
1467 if (( options.interactive_shell 1467 if (( options.interactive_shell
1468 || !options.script_executed ) 1468 || !options.script_executed )
1469 && !options.test_shell ) { 1469 && !options.test_shell ) {
(...skipping 15 matching lines...) Expand all
1485 } 1485 }
1486 1486
1487 } // namespace v8 1487 } // namespace v8
1488 1488
1489 1489
1490 #ifndef GOOGLE3 1490 #ifndef GOOGLE3
1491 int main(int argc, char* argv[]) { 1491 int main(int argc, char* argv[]) {
1492 return v8::Shell::Main(argc, argv); 1492 return v8::Shell::Main(argc, argv);
1493 } 1493 }
1494 #endif 1494 #endif
OLDNEW
« no previous file with comments | « no previous file | src/d8-debug.h » ('j') | src/d8-debug.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698