wengchangcheng
4b64683dcf
Descriptor: support update value of old eval function
...
details:
update framehandler before setvalue
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BSY5
Change-Id: Ib6c576e695f3ddcd4387d01e5f6368641bb0d526
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2022-06-11 12:00:19 +08:00
openharmony_ci
31e7e2ecf3
!1532 fix codex warning
...
Merge pull request !1532 from hjzhangcm/master
2022-06-09 07:50:01 +00:00
wengchangcheng
1ee5638cf9
Descriptor: modify unique_ptr and add ASSERT
...
details:
1. modify unique_ptr t oconst &
2. modify unit32_t to int32_t
3. add ASSERT before get optional value
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BHDS
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ie1938acfd0f30389892933adf224af1940143805
2022-06-09 12:23:48 +08:00
openharmony_ci
e013c8247a
!1533 modify for some bugs
...
Merge pull request !1533 from Riachel/master
2022-06-09 02:06:23 +00:00
wengchangcheng
bb50d4aefe
Descriptor: debugger refactor of independent js_runtime [ part-2 ]
...
details: add Create function by PtJson
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBPM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I2870f1d377bd6b4adc0d12d33cba84d53af7f076
2022-06-08 21:41:50 +08:00
wengchangcheng
25405f84a3
Descriptor: debugger refactor of independent js_runtime [ part-2 ]
...
details: use pt json to parse message
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBPM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I3bdc5475f8d500754d0b58af28a17775fbcf2e7c
2022-06-08 21:41:34 +08:00
Riachel
3545d16472
Descriptor: modify for some bugs
...
details:
1. delete trackAllocations_
2. modify size_t to int64
3. modify IntegerRef to NumberRef
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BCAD
Signed-off-by: Riachel <caolili14@huawei.com >
2022-06-08 17:48:49 +08:00
hjzhangcm
7555cf4213
fix codex warning issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BCD6?from=project-issue
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-08 16:29:33 +08:00
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
openharmony_ci
69f27f5326
!1476 Added method to set sampling interval
...
Merge pull request !1476 from buzhuyu/master
2022-06-07 06:38:16 +00:00
openharmony_ci
225df7058a
!1506 add statsUpdate and lastObjectId event
...
Merge pull request !1506 from Riachel/master
2022-06-07 04:26:00 +00:00
Riachel
557c07bb07
Descriptor: support heapprofiler domain
...
details:
1. add statsUpdate event
2. add lastObjectId event
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AUJA
Signed-off-by: Riachel <caolili14@huawei.com >
2022-06-07 11:29:50 +08:00
xwx1135370
01c0660346
Added method to set sampling interval
...
add ProfileImpl.SetSamplingInterval
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I5A8ZK
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
Change-Id: I39912ff70935d947222e9aef0340063ab82b6717
2022-06-06 20:40:41 +08:00
openharmony_ci
23e596755b
!1505 deal with invalid exception
...
Merge pull request !1505 from changcheng/add_empty_check
2022-06-06 04:19:43 +00:00
openharmony_ci
d94412392b
!1493 fix codex warning
...
Merge pull request !1493 from hjzhangcm/master
2022-06-06 04:15:17 +00:00
wengchangcheng
28619202a3
Descriptor: deal with invalid exception
...
details: add empty check
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5AT96
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I114a557d7b431f65b1a6145c2f0a0e674789e771
2022-06-06 11:40:01 +08:00
hjzhangcm
6741c67039
describe:fix codex warning
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5AM6L
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-06 11:27:19 +08:00
wengchangcheng
a4c2a56a0d
Descriptor: debugger refactor [ part-2 ]
...
details:
1. modify unique ptr to const reference
2. delete some unused method
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59PAK
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I9432b021b2257932d943a832e7401e25d5a1c37d
2022-06-04 21:38:46 +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
openharmony_ci
36f7ae1897
!1447 support memory params configuration
...
Merge pull request !1447 from lukai/master
2022-05-31 03:30:30 +00:00
lukai
1a5e085031
support memory parameters configuration
...
1. heap configuration including heapSize and space capaticity
2. other parameters such as gcThreadNum, longPauseTime.
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I59HYO?from=project-issue
Signed-off-by: lukai <lukai25@huawei.com >
Change-Id: If3bfe7338ae0712809d9750fef3bbbb14017223f
2022-05-30 17:22:08 +08:00
buzhuyu
34751aae65
add cpuProfileNode.hitCount member
...
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I59YDA
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-05-30 16:59:12 +08:00
wengchangcheng
568ec4cbf9
Descriptor: support disable debugger and runtime domain
...
details: add disable method for debugger and runtime
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59QMX
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Iace48b02a2c5fc9b15c1fed94a67e95a4e857933
2022-05-28 18:43:32 +08:00
openharmony_ci
c41ca7a394
!1448 Modify the time type and isStart
...
Merge pull request !1448 from buzhuyu/master
2022-05-28 10:19:33 +00:00
buzhuyu
f241c7f7e4
Modify the time type
...
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I59LQ9
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-05-28 17:26:53 +08:00
wengchangcheng
c880e296ef
Descriptor: fix profiler dependent debugger
...
details: add ProfilerNotify without check debug mode
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I59OYR
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I9bd2a88ff032e3d8f113a436e86fd397fac73770
2022-05-28 10:55:53 +08:00
openharmony_ci
5aefa13171
!1419 make the debugger pause at the begin of PendingJob::ExecutePendingJob function
...
Merge pull request !1419 from Gongyuhang/master
2022-05-26 00:51:04 +00:00
openharmony_ci
06d5ae3c45
!1427 Implementation of ProfilerImpl.Start and ProfilerImpl.Stop
...
Merge pull request !1427 from buzhuyu/master
2022-05-25 10:26:42 +00:00
buzhuyu
2fdb093ad0
Implementation of ProfilerImpl.Start and Stop
...
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I56YVM
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-05-25 16:33:30 +08:00
Gongyuhang
77411b7e75
Descriptor:
...
The debugger behaves unexpectedly after step operations
act on the commands after a command modified by "await"
Details:
Make the debugger pause at the begin of
PendingJob::ExecutePendingJob function
Issue:
https://gitee.com/openharmony/ark_js_runtime/issues/I5936Z
Signed-off-by: Gongyuhang <gongyuhang5@huawei.com >
2022-05-25 14:55:05 +08:00
Gymee
01da4a53b9
fix this value when get scope chain
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I88aace2929e4cd995588d1cffcb2ab2102b045df
2022-05-25 12:38:10 +08:00
openharmony_ci
d5d57b6650
!1403 adjust local variables shown to IDE
...
Merge pull request !1403 from Gymee/tweaks_master
2022-05-24 10:52:39 +00:00
Gymee
b97678db38
adjust local variables shown to IDE
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: If0dc61b52f8362a263f6f1aec09e20a3f51bd70a
2022-05-24 15:46:25 +08:00
hjzhangcm
08f5895212
fix codex warning
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-05-23 16:05:15 +08:00
Riachel
df34983177
add reportprogress
...
reportprogress value before StopHeapTracking or DumpHeapSnapshot
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57VAP
Signed-off-by: Riachel <caolili14@huawei.com >
2022-05-17 20:12:15 +08:00
openharmony_ci
e16fc997f0
!1331 fix exception when JsDebuggerManager destroyed
...
Merge pull request !1331 from Gymee/bugfix
2022-05-17 08:42:23 +00:00
Gymee
3fe7a9313e
fix crash when JsDebuggerManager destroyed
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: Ia11785865c0f68f1fe562a9cb6439026334b11ac
2022-05-16 16:18:59 +08:00
wengchangcheng
5b54d1c175
Descriptor: improve debugger performance
...
details: use binary search when search offset
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I57GFP
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I92a3c995268a274d4751f0474225c366e8f8b999
2022-05-14 23:05:03 +08:00
Gymee
12d704cc4c
tackle breakpoint with condition set empty
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I54892d76bf7cfbb57cafb2d951d4c58333ce841d
2022-05-12 14:39:50 +08:00
openharmony_ci
5ff09c3c7f
!1240 enhance evaluation
...
Merge pull request !1240 from Gymee/evaluate_enhance
2022-05-11 10:38:05 +00:00
openharmony_ci
fbe1ae83d2
!1252 modify AddHeapSnapshotChunk event
...
Merge pull request !1252 from Riachel/master
2022-05-11 03:52:20 +00:00
Riachel
a0cf57629a
modify AddHeapSnapshotChunk event
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I56RY2
Signed-off-by: Riachel <caolili14@huawei.com >
2022-05-10 18:22:51 +08:00
h00611971
2cb7efa304
fix exception in attach
...
problem: Turn the firstTime_ flag to false
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56M5M
Signed-off-by: h00611971 <huangfeijie@huawei.com >
2022-05-10 09:24:59 +08:00
Gymee
832160451d
update local scope object when it changed
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I3b7bfdf71aec34fb42e393148048765b4d51ef65
2022-05-09 16:24:11 +08:00
Gymee
904a4300da
support evaluate on target callframe
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I4e4b4b4f621706e5bb7e88e651fd9f3fb21c2b37
2022-05-09 13:56:17 +08:00
openharmony_ci
0c34e47066
!1178 Snapshot code optimization
...
Merge pull request !1178 from dingwen/master
2022-05-07 12:55:32 +00:00
dingwen
61b6782b65
Snapshot code optimization
...
Description:Snapshot code optimization include modify class name SnapShotSerialize to SnapShotHandler, delete some magic number, add interface to acquire global env and global const object index.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55CQ3
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I338028c5cfd4f992095f2bded2956e33f275bb1b
2022-05-07 09:23:06 +08:00
hjzhangcm
a760638caa
fix codex warning
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-05-06 17:52:55 +08:00
openharmony_ci
221548d043
!1201 add closure variables to local scope
...
Merge pull request !1201 from Gymee/fix_localscope
2022-05-05 15:46:54 +00:00
Gymee
96292cb45c
add closure variables to local scope
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I0ce49467a5cfa027b7ab2f87d9c35ca8c9cd9ba6
2022-05-05 21:24:53 +08:00