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

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

Issue 119108: Add more debugging information to scripts compiled through eval (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « src/debug.cc ('k') | src/factory.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 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 StepNext: 1, 55 StepNext: 1,
56 StepIn: 2, 56 StepIn: 2,
57 StepMin: 3, 57 StepMin: 3,
58 StepInMin: 4 }; 58 StepInMin: 4 };
59 59
60 // The different types of scripts matching enum ScriptType in objects.h. 60 // The different types of scripts matching enum ScriptType in objects.h.
61 Debug.ScriptType = { Native: 0, 61 Debug.ScriptType = { Native: 0,
62 Extension: 1, 62 Extension: 1,
63 Normal: 2 }; 63 Normal: 2 };
64 64
65 // The different types of script compilations matching enum
66 // Script::CompilationType in objects.h.
67 Debug.ScriptCompilationType = { Host: 0,
68 Eval: 1,
69 JSON: 2 };
70
65 // The different script break point types. 71 // The different script break point types.
66 Debug.ScriptBreakPointType = { ScriptId: 0, 72 Debug.ScriptBreakPointType = { ScriptId: 0,
67 ScriptName: 1 }; 73 ScriptName: 1 };
68 74
69 function ScriptTypeFlag(type) { 75 function ScriptTypeFlag(type) {
70 return (1 << type); 76 return (1 << type);
71 } 77 }
72 78
73 // Globals. 79 // Globals.
74 var next_response_seq = 0; 80 var next_response_seq = 0;
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1906 case 'string': 1912 case 'string':
1907 case 'number': 1913 case 'number':
1908 json = value; 1914 json = value;
1909 break 1915 break
1910 1916
1911 default: 1917 default:
1912 json = null; 1918 json = null;
1913 } 1919 }
1914 return json; 1920 return json;
1915 } 1921 }
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698