Commit Graph

6 Commits

Author SHA1 Message Date
wengchangcheng c2e20b03d5 Descriptor: debugger refactor of independent js_runtime [ part-1 ]
details: using stl instead of js_runtime container ans string
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AYKS

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I32b4809a4bbd759a562326a59e0cfb0e8e728297
2022-06-07 17:47:53 +08:00
wengchangcheng 9ea13c48f9 Descriptor: debugger refactor [ part-1 ]
details:
1. delete unused method
2. modify file dir
3. add event channel for every domain
4. implement domain function in agent and delete js_backend
5. modify dispatchTable to static
6. modify debugger_api
7. modify js_debugger and add debugger_executor
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I58LOO

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I7747bf3ad66e9a180d6179e45be5bcaf4161b29b
2022-06-01 23:00:13 +08:00
wengchangcheng a4f9603e75 Descriptor: modify stream and add switch of enable_dump_in_faultlog
details:
1. call EndOfStream after WriteChunk
2. add switch of enable_dump_in_faultlog
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I58KLM

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I1c9b26873eae47f8e9e5788cd7a477f32738efc9
2022-05-21 16:37:04 +08:00
xiongluo 5122d18dca Add interface to dump in faultlog and private param to hide string and number
Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-05-17 22:42:10 -10:00
wwx1083752 cf9ab9530c support dump default heapfile
1. add FileStream::Good
2. dump default file when input file is invalid

issue:https://gitee.com/wwx1083752/ark_js_runtime/issues/I55E7O

Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-05-05 10:43:08 +08:00
wengchangcheng a666966691 Descriptor: add file stream for heap dump
details: add file stream for heap dump
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I54S6V

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I45435df049d5e67480b5d8332d3e54895f15f796
2022-04-26 16:07:39 +08:00