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

Side by Side Diff: src/debug-debugger.js

Issue 9227007: Version 3.8.6 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
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 | « src/debug.cc ('k') | src/elements.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:mergeinfo
Merged /branches/bleeding_edge/src/debug-debugger.js:r9605-9824,10347-10404
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 action = Debug.StepAction.StepMin; 1540 action = Debug.StepAction.StepMin;
1541 } else if (stepaction == 'next') { 1541 } else if (stepaction == 'next') {
1542 action = Debug.StepAction.StepNext; 1542 action = Debug.StepAction.StepNext;
1543 } else if (stepaction == 'out') { 1543 } else if (stepaction == 'out') {
1544 action = Debug.StepAction.StepOut; 1544 action = Debug.StepAction.StepOut;
1545 } else { 1545 } else {
1546 throw new Error('Invalid stepaction argument "' + stepaction + '".'); 1546 throw new Error('Invalid stepaction argument "' + stepaction + '".');
1547 } 1547 }
1548 } 1548 }
1549 1549
1550 // Setup the VM for stepping. 1550 // Set up the VM for stepping.
1551 this.exec_state_.prepareStep(action, count); 1551 this.exec_state_.prepareStep(action, count);
1552 } 1552 }
1553 1553
1554 // VM should be running after executing this request. 1554 // VM should be running after executing this request.
1555 response.running = true; 1555 response.running = true;
1556 }; 1556 };
1557 1557
1558 1558
1559 DebugCommandProcessor.prototype.breakRequest_ = function(request, response) { 1559 DebugCommandProcessor.prototype.breakRequest_ = function(request, response) {
1560 // Ignore as break command does not do anything when broken. 1560 // Ignore as break command does not do anything when broken.
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
2606 case 'string': 2606 case 'string':
2607 case 'number': 2607 case 'number':
2608 json = value; 2608 json = value;
2609 break; 2609 break;
2610 2610
2611 default: 2611 default:
2612 json = null; 2612 json = null;
2613 } 2613 }
2614 return json; 2614 return json;
2615 } 2615 }
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698