v8/test/cctest
pfeldman@chromium.org 54f0a5b221 Expose debug context into the native code. This change is doing several things:
1) Exposes Local<Context> v8::Debug::GetDebugContext().
Rationale: We can already get debugger context instance using various workarounds,
so exposing it explicitly in the API only makes things more clear.

2) Removes debugger.HasJavaScriptFrames() requirement for entering debugger context.
Rationale: Sometimes we'd like to call into debugger from the external native code.

3) Makes Debugger v8::Debug::Call execute on debugger context's global object.
Rationale: This is somewhat arguable, but temporary measure. We've agreed that we
should introduce a DebugAPI object that would expose necessary API in the debug-delay.
The problem is that it would take some time to define this API and it is not really
convenient to do that on the v8 land given the difference in v8 / host lifecycle.
The plan is to compose this API as a Debug.* wrapper outside v8 by means of exposing
debugger context's global object here, and once API settles down, upstream it to v8 and
start making Debug::Calls on this new DebugAPI object instead.


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4251 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-03-24 13:09:02 +00:00
..
cctest.cc Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.h Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.status MIPS simple function calls 2010-03-23 15:04:45 +00:00
gay-shortest.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
gay-shortest.h Rename files containing underscores. 2010-03-19 12:15:24 +00:00
SConscript MIPS simple function calls 2010-03-23 15:04:45 +00:00
test-accessors.cc Fixed problem where popping a handle scope after calling an accessor 2009-11-06 11:35:47 +00:00
test-alloc.cc Fix compilation error in r3352 2009-11-24 15:16:02 +00:00
test-api.cc New GCCallbacks with additional parameters. 2010-03-23 13:11:44 +00:00
test-assembler-arm.cc Merge the partial_snapshots branch back into bleeding_edge. For 2010-03-23 11:40:38 +00:00
test-assembler-ia32.cc Make the C++ tests run without SSE2 support. 2010-03-17 10:28:44 +00:00
test-assembler-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +00:00
test-assembler-x64.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-ast.cc Fix broken test compilation. 2009-07-30 12:25:24 +00:00
test-circular-queue.cc Add multithreading test for SamplingCircularQueue, fix implementation. 2010-03-22 14:23:45 +00:00
test-compiler.cc - Remove function boilerplate objects and use SharedFunctionInfos in 2010-03-23 06:04:44 +00:00
test-conversions.cc Revert revisions 4241, 4243 and 4247 because of Windows build errors 2010-03-24 11:48:01 +00:00
test-cpu-profiler.cc Add multithreading test for SamplingCircularQueue, fix implementation. 2010-03-22 14:23:45 +00:00
test-dataflow.cc Fix BitVector test failure. 2010-03-10 08:31:25 +00:00
test-debug.cc Expose debug context into the native code. This change is doing several things: 2010-03-24 13:09:02 +00:00
test-decls.cc Fix errors in test-heap.cc and test-decls.cc. Adjust cctest.status. 2009-08-18 12:43:36 +00:00
test-disasm-arm.cc Reapply ARM root array change to reduce const pool size 2009-08-24 11:57:57 +00:00
test-disasm-ia32.cc Make the C++ tests run without SSE2 support. 2010-03-17 10:28:44 +00:00
test-diy-fp.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-double.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-fast-dtoa.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-func-name-inference.cc - Remove function boilerplate objects and use SharedFunctionInfos in 2010-03-23 06:04:44 +00:00
test-hashmap.cc Make the hash map test run faster by doing less work. 2009-05-15 13:49:00 +00:00
test-heap-profiler.cc Added zone-inl.h to test-heap-profiler to fix test build failure after header file refactoring in revision 4058. 2010-03-09 08:25:22 +00:00
test-heap.cc Change allocations in test-heap to use handles. This makes the test 2010-03-05 09:51:10 +00:00
test-list.cc Remove list copy constructor (for which there was no corresponding 2009-05-22 11:52:24 +00:00
test-lock.cc Added a wait with timeout to the platform semaphore class. 2009-03-18 09:04:24 +00:00
test-log-stack-tracer.cc Add comments to test-log-stack-tracer. 2010-03-24 08:46:17 +00:00
test-log-utils.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-log.cc Make the assumption on the minimum buffer size for GetLogLines explicit. 2010-03-11 09:48:01 +00:00
test-macro-assembler-x64.cc Use uint64_t to keep 64 MacOS happy. 2009-12-10 17:46:45 +00:00
test-mark-compact.cc A simple test for map compact. 2010-01-19 16:34:37 +00:00
test-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +00:00
test-parsing.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-platform-linux.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-macos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-nullos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-win32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-profile-generator.cc Add a few tests to ProfilerEventsProcessor. 2010-03-19 13:51:01 +00:00
test-regexp.cc MIPS port initial commit 2010-02-04 20:36:58 +00:00
test-serialize.cc Merge the partial_snapshots branch back into bleeding_edge. For 2010-03-23 11:40:38 +00:00
test-sockets.cc Fixed some cctest flakiness on mac. 2009-09-25 10:36:00 +00:00
test-spaces.cc Allow resource constraints to specify the max committed new space size 2009-10-21 15:03:34 +00:00
test-strings.cc Fix compilation errors on some compilers 2009-12-03 08:32:04 +00:00
test-thread-termination.cc Add IsExecutionTerminating api method. 2010-03-04 12:13:04 +00:00
test-threads.cc Add support for forceful termination of JavaScript execution. 2009-08-19 15:14:11 +00:00
test-utils.cc Kill some unused code. 2010-02-18 12:47:17 +00:00
test-version.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
testcfg.py Add verification flags to debug mjsunit test runs. 2009-09-02 12:40:00 +00:00