Go to file
sgjesse@chromium.org 1f7a7d9c58 Change handling of debugger unloading.
Add a semaphore for accessing debugger varaibles which can be changed from a different thread. This is mainly the debug message handler which can be set to NULL to disconnect the debugger.

Control the unloading of the debugger from the V8 thread. Before the debugger unload was called from the thread setting the debug message handler to NULL. This was not safe as this involves calling into V8. This change handles the unloading of the debugger either when entering a debugger event and the debugger was disconnected while the debugger was not active or when leaving the debugger and the debugger was disconnected while the debugger was active.

Add a flag to avoid unloading the debugger if debugger code is used by the application for other purposes than debugging.

Added tests for clearing the debug message handler.
Review URL: http://codereview.chromium.org/56102

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1648 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-03-31 11:24:59 +00:00
benchmarks Fixed issue where \x.. and \u.... were rot13-ed in strings (but not in 2009-01-30 13:19:29 +00:00
include Add os.chdir and os.setenv to d8. Move system() to os.system(). 2009-03-31 06:51:25 +00:00
samples Reenable interactive use of the shell sample. 2009-03-30 12:13:08 +00:00
src Change handling of debugger unloading. 2009-03-31 11:24:59 +00:00
test Change handling of debugger unloading. 2009-03-31 11:24:59 +00:00
tools Fixed numerous issues that were causing errors in profiler log processing 2009-03-31 09:06:37 +00:00
AUTHORS Issue 63: Running tests fails of there is a dot in the checkout path 2009-02-25 10:09:42 +00:00
ChangeLog Prepare to push version 1.1.4 to trunk. 2009-03-30 12:58:45 +00:00
LICENSE Remove JSCRE 2009-02-25 08:08:01 +00:00
SConstruct Strcmp thinko and SConstruct improvement for d8 on Android. 2009-03-24 14:29:49 +00:00