- 16 Apr, 2009 1 commit
-
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/67155 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Mar, 2009 1 commit
-
-
yurys@chromium.org authored
When devtools window is opening it requests all scripts parsed by the moment. Currently 'scripts' response contains only first 80 chars of the scripts sources. I added an argument to the protocol that allows to include full source text into the response. Review URL: http://codereview.chromium.org/55011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Mar, 2009 1 commit
-
-
sgjesse@chromium.org authored
Each thread running V8 code is assigned an id in thread local storage the first time V8 code is run in it. The thread information returned to the debugger contains the number of threads, the id of each of these threads and which one is the current thread. Added a threads command to the developer shell debugger for showing information on threads. Review URL: http://codereview.chromium.org/48009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1523 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Mar, 2009 1 commit
-
-
sgjesse@chromium.org authored
During the refactoring in r1461 and adding of script ids in r1468 the propagation of a boolean flag was missing. This caused the line numbers retreived through ScriptMirror objects to ignore the resource line offset information in the script. Added an explicit false parameter where the parameter was previously left out. Added a test case for this. Review URL: http://codereview.chromium.org/43130 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1499 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Mar, 2009 1 commit
-
-
sgjesse@chromium.org authored
Whenever a script object is created it is assigned a unique id. Currently this id is assigned from an 32 bit integer counter. Changed the script break points to be able to handle both break points based on script names and script ids. When break points are set through a script id the position is relative to the script itself. This is different from the script break points set through script names where the line/coulmn offset is taken into account. This has the side effect that function break points are not converted into script break points for named scripts. Show the script id in the D8 shell debugger when listing all scripts using the 'scripts' command. Review URL: http://codereview.chromium.org/40317 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1468 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Mar, 2009 1 commit
-
-
sgjesse@chromium.org authored
Changed a function in the internal debugger JavaScript to return the full source location instead of only the position. Added an optional parameter to exclude/include the source line offset in source location. Extended a message test to include a test with source offset. Review URL: http://codereview.chromium.org/39342 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1461 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Feb, 2009 1 commit
-
-
sgjesse@chromium.org authored
The D8 debugger frontend now only processes JSON messages. Before the debugger events was passed as objects. Changed the debugger events JSON generation to use the same serailizer as the responses to requests. This provides correct serialization of mirror objects in debugger events. Renamed ResponsePacket to ProtocolMessage as it is not only used for responses. Review URL: http://codereview.chromium.org/27202 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1374 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Feb, 2009 1 commit
-
-
sgjesse@chromium.org authored
Fixed output of evaluated expressions from the debugger in the developer shell. Use global evaluate request from developer shell if there is no JavaScript stack. Remove use of JS2C macros in developer shell JavaScript code. Review URL: http://codereview.chromium.org/21350 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Feb, 2009 2 commits
-
-
sgjesse@chromium.org authored
Added the 'references' command to the debugger protocol to provide access to the mirror features of retreiving all the objects referencing a given object and all objects instantiated by a given function. Added commands 'references' and 'instances' to the developer shell for using this new debugger protocol command. Review URL: http://codereview.chromium.org/21080 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1234 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
The debugger compile events (BeforeCompile and AfterCompile) have not been used by any V8 debuggers lately and where actually not working any more. Added the correct information to the compile event. Added a simple 'trace compile' command to the developer shell for testing. Added a test for compile evnets. Review URL: http://codereview.chromium.org/21076 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1230 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Feb, 2009 1 commit
-
-
sgjesse@chromium.org authored
Minor debugger cleanup. Store the running state of the previous debugger response to avoid having to parse the just generated JSON response just to pick out the running state. Also removed an unused function. Review URL: http://codereview.chromium.org/20039 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1222 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Feb, 2009 1 commit
-
-
sgjesse@chromium.org authored
Changed the debugger API to allow only one debug event listener to be registered. The public API now only has SetDebugEventListener instead of AddDebugEventListener and RemoveDebugEventListener. Moved the registrered debug event listener from the context to a global handle in the Debugger class. Storing it in the context did not make much sense. Changed a lot of tests to handle the API change. BUG=1242707 Review URL: http://codereview.chromium.org/19753 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1212 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Jan, 2009 1 commit
-
-
deanm@chromium.org authored
This imports a Python version of Douglas Crockford's JSMin. JavaScript files can annotate that they want to be run through the minifier. Currently debug and mirror are minified. This results in ~12k savings on the final binary size. Review URL: http://codereview.chromium.org/19013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1179 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
Added a test for testing handles when using both the 'evaluate' and the 'lookup' request. Review URL: http://codereview.chromium.org/18752 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1153 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
BUG=1250705 Review URL: http://codereview.chromium.org/18492 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
it is assigned a numeric handle. Handles are used to make a 1:1 correspondence between objects and mirrors. Currently the mirrors are cached in a JavaScript array and when creating a mirror this cache is checked to see if a mirror already exists for the object. This cache is cleared when leaving the debugger. Changed the serialization format to take advantage of these handles. When an object is serialized referenced objects are represented just by their handle id serialized as '{ref:<handle>}'. During serialization the referenced handles are collected and the serializer can provide a serialization of all the referenced objects. Removed the special handling of array properties. Indexed properties and the length property are now rendered as named properties in the serialization. Removed the special serialization handling of RegExp properties. The properties 'source', 'global', 'ignoreCase' and 'multiline' are serialized with the rest of the properties. Changed a lot of tests to handle the changed format. Review URL: http://codereview.chromium.org/18092 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Jan, 2009 2 commits
-
-
sgjesse@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1079 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Added handles to the mirror objects. When a mirror for an object is created it is assigned a numeric handle. Handles are used to make a 1:1 correspondence between objects and mirrors. Currently the mirrors are cached in a JavaScript array and when creating a mirror this cache is checked to see if a mirror already exists for the object. This cache is cleared when leaving the debugger. Changed the serialization format to take advantage of these handles. When an object is serialized referenced objects are represented just by their handle id serialized as '{ref:<handle>}'. During serialization the referenced handles are collected and the serializer can provide a serialization of all the referenced objects. Removed the special handling of array properties. Indexed properties and the length property are now rendered as named properties in the serialization. Removed the special serialization handling of RegExp properties. The properties 'source', 'global', 'ignoreCase' and 'multiline' are serialized with the rest of the properties. Changed a lot of tests to handle the changed format. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1078 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/17410 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1044 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Dec, 2008 1 commit
-
-
sgjesse@chromium.org authored
break location [condition] clear <breakpoint #> backtrace [from frame #] [to frame #]] frame <frame #> step [in | next | out| min [step count]] print <expression> source [from line [num lines]] scripts continue help It is enabled through the option --debugger which is on by default. Review URL: http://codereview.chromium.org/14509 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@996 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Dec, 2008 1 commit
-
-
sgjesse@chromium.org authored
Give an error when setting break points in functions either defined through the API or in functions which are part of the V8 builtins. BUG=178 Review URL: http://codereview.chromium.org/13785 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@977 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Dec, 2008 1 commit
-
-
sgjesse@chromium.org authored
Add accessor function for the exception in an ExceptionEvent. Review URL: http://codereview.chromium.org/13382 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@961 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Dec, 2008 1 commit
-
-
sgjesse@chromium.org authored
Fixed handling of script break points past the length of the script. Review URL: http://codereview.chromium.org/13126 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@917 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Nov, 2008 1 commit
-
-
olehougaard authored
Review URL: http://codereview.chromium.org/12673 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@860 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Nov, 2008 1 commit
-
-
sgjesse@chromium.org authored
Removed all functions for parsing the debugger command line commands. The core debugger should only support the JSON protocol. Expect these functions to re-appear in d8. Added processDebugRequest to the debugger which will only process a JSON request. Use that function in the debugger. Review URL: http://codereview.chromium.org/11395 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@824 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Nov, 2008 2 commits
-
-
ager@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@823 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Fixing the semantics of aliased eval so that it is conformant. Review URL: http://codereview.chromium.org/11563 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@819 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Nov, 2008 1 commit
-
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/11269 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@795 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Nov, 2008 1 commit
-
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/10249 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@723 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Oct, 2008 1 commit
-
-
ager@chromium.org authored
names. - Set the correct name of library functions. - Set the name of C++ callback functions. - Clean up a couple of out-dated comments related to literal creation. Review URL: http://codereview.chromium.org/6223 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@414 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 Sep, 2008 1 commit
-
-
ager@chromium.org authored
on a line of its own. This allows the body to be terminated by a single-line comment. Also, make sure to set the name of the function to anonymous after the fact so that recursion through the name anonymous is not allowed and so that global variables called anonymous are not shadowed. This is a fix for http://code.google.com/p/v8/issues/detail?id=85 Review URL: http://codereview.chromium.org/4248 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Sep, 2008 1 commit
-
-
christian.plesner.hansen@gmail.com authored
Added presubmit step to check copyright. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Aug, 2008 1 commit
-
-
sgjesse@gmail.com authored
while V8 is running. A debugger using the V8 message based interface now needs to control the call to DebugBreak in order for the messages send to be processed. Commands can still be send when V8 is not in a break, but they will not be processed until there is a break. The response "request queued" when queuing up messages have been removed. This gets rid of a non JSON message being used. Modified the threaded debugger tests to call DebugBreak instead of relying on it occouring automatically. This change will not be committed until the outstanding Chrome change http://chrome-reviews.prom.corp.google.com/2072 (which updates Chrome to control the DebugBreak call) have been reviewed and committed. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@47 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Aug, 2008 1 commit
-
-
christian.plesner.hansen authored
In the shell sample don't print the result of executing a script, only evaluating expressions. Fixed issue when building samples on Windows using a shared V8 library. Added visibility option on Linux build which makes the generated library 18% smaller. Changed build system to accept multiple build modes in one build and generate seperate objects, libraries and executables for each mode. Removed deferred negation optimization (a * -b => -(a * b)) since this visibly changes operand conversion order. Improved parsing performance by introducing stack guard in preparsing. Without a stack guard preparsing always bails out with stack overflow. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Aug, 2008 1 commit
-
-
mads.s.ager authored
Improved performance of garbage collection by moving the function that updates pointers during compacting collection into the updating visitor. This gives the compiler a better chance to inline and avoid a function call per (potential) pointer. Extended the shell sample with a --runtime-flags option. Added Visual Studio project files for the shell.cc and process.cc samples. git-svn-id: http://v8.googlecode.com/svn/trunk@14 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Aug, 2008 1 commit
-
-
mads.s.ager authored
Improved performance of garbage collection by changing the way we use the marking stack in the event of stack overflow during full garbage collection and by changing the way we mark roots. Cleaned up ARM version by removing top of stack caching and by introducing push/pop elimination. Cleaned up the way runtime functions are called to allow runtime calls with no arguments. Changed Windows build options to make sure that exceptions are disabled and that optimization flags are enabled. Added first version of Visual Studio project files. git-svn-id: http://v8.googlecode.com/svn/trunk@13 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Jul, 2008 1 commit
-
-
kasper.lund authored
non-tagged value in register eax was pushed to the stack. Fixed potential quadratic behavior when converting strings to numbers. Fixed bug where the return value from Object::SetProperty could end up being the property holder instead of the written value. Improved debugger support by allowing nested break points and by dealing with stack-overflows when compiling functions before setting break points in them. git-svn-id: http://v8.googlecode.com/svn/trunk@4 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Jul, 2008 1 commit
-
-
christian.plesner.hansen authored
git-svn-id: http://v8.googlecode.com/svn/trunk@2 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-