From a065e04d529da1d847b5062a12c46d916408bf32 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 21:46:22 -0500 Subject: update based on https://github.com/mdn/yari/issues/2028 --- files/zh-cn/jsdbgapi_reference/index.html | 145 ------------------------------ 1 file changed, 145 deletions(-) delete mode 100644 files/zh-cn/jsdbgapi_reference/index.html (limited to 'files/zh-cn/jsdbgapi_reference/index.html') diff --git a/files/zh-cn/jsdbgapi_reference/index.html b/files/zh-cn/jsdbgapi_reference/index.html deleted file mode 100644 index 0e0f61c471..0000000000 --- a/files/zh-cn/jsdbgapi_reference/index.html +++ /dev/null @@ -1,145 +0,0 @@ ---- -title: JSDBGAPI 参考 -slug: JSDBGAPI_Reference -translation_of: Mozilla/Projects/SpiderMonkey/JSDBGAPI ---- -

 

-


- Obviously this stuff is almost entirely undocumented.

-

See the implementation of the trap, untrap, watch, unwatch, line2pc, and pc2line functions in {{ Source("js/src/shell/js.cpp") }}. Also the (scant) comments in {{ Source("js/src/jsdbgapi.h") }}.

-

Breakpoints

- -

Watchpoints

- -

Inspecting the stack

- - - - - -

Evaluating debug code

- -

Examining object properties

- - - - -

Hooks

- - -

Memory usage

- -

System objects

- -

Profiling

-

These functions can be used to profile a SpiderMonkey application using the Mac profiler, Shark. See Profiling JavaScript with Shark.

- -

The following JSNative functions can be used to expose the above four APIs to scripts.

- -- cgit v1.2.3-54-g00ecf