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
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
42355bd8fb
!1262 Refactor Compilation Framework Part-2
...
Merge pull request !1262 from Gargoyle.h/wzfmaster-dev
2022-05-11 12:29:01 +00:00
wuzhefeng
662f2b78a6
Refactor Compilation Framework Part-2
...
1. Rename IR builder to improve the readability.
2. Remove redundant Headers to decouple the relationships of components.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56YPT
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com >
Change-Id: I0c8da6cd55bb8e7f33421ba846bab89bd5e06c55
2022-05-11 04:28:10 -07: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
wengchangcheng
e7be0def3b
Descriptor: fix debugger testcase fail
...
details: free hook after thread terminate
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56588
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ifdf47d989ad4f49ffcb4ccb71ce910a5ef4996c8
2022-05-06 20:21:52 +08:00
hjzhangcm
a760638caa
fix codex warning
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-05-06 17:52:55 +08:00
openharmony_ci
32c084d7b0
!1208 modify gn args and debugger test
...
Merge pull request !1208 from changcheng/debugger_modify
2022-05-06 03:34:39 +00: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
openharmony_ci
1c06dd45fe
!1062 [js_runtime]support multi-instance in ark debugger
...
Merge pull request !1062 from huangfeijie/master
2022-05-05 13:41:29 +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
openharmony_ci
a746af5fb6
!1200 fix construction of framehandler for debugger evaluation
...
Merge pull request !1200 from Gymee/bugfix
2022-05-05 13:20:19 +00:00
wengchangcheng
dcac52ac03
Descriptor:fix ut fail and modify debugger test
...
details:
1. fix icu path error
2. modify debugger unittest
3. modify gn target
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55WGN
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I1c924fd90297a5172ca5aabace36b6e250dc312b
2022-05-05 20:49:16 +08:00
openharmony_ci
adad023652
!1198 update bytrace warehouse name for ark_js_runtime
...
Merge pull request !1198 from wenlong_12/master
2022-05-05 12:31:00 +00:00
openharmony_ci
cf61951f4a
!1207 add heapprofiler domain event
...
Merge pull request !1207 from Riachel/master
2022-05-05 10:52:27 +00:00
openharmony_ci
de6782e141
!1187 add FileStream::Good
...
Merge pull request !1187 from wwx1083752/master
2022-05-05 10:44:56 +00:00
openharmony_ci
dc4976ba6c
!1181 clear extractors when destroy
...
Merge pull request !1181 from huangfeijie/master
2022-05-05 10:07:41 +00:00
Riachel
e2b4ee1f5b
add heapprofiler domain event
...
1.add heapStatsUpdate
2.add lastSeenObjectId
3.add reportHeapSnapshotProgress
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55VKF
Signed-off-by: Riachel <caolili14@huawei.com >
2022-05-05 16:09:58 +08:00
Gymee
f4e412ef1e
fix bug for refactoring FrameHandler
...
Signed-off-by: Gymee <yumeijie@huawei.com >
Change-Id: I475f474c29a9e7e79dd1eab5fe3b495ebc3be24f
2022-05-05 15:48:50 +08:00
h00611971
24809b8239
support multi-instance in ark debugger
...
modify the interface in ark debugger
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I53TEF
Signed-off-by: h00611971 <huangfeijie@huawei.com >
2022-05-05 11:31:18 +08: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
h00611971
aa3faab847
clear extractors when destroy instances
...
1.remove the info concerned in the extractors when release JSPandafile.
2.clear the extractors when JSPandafile's destructor is called.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I55CK0
Signed-off-by: h00611971 <huangfeijie@huawei.com >
2022-05-05 10:16:09 +08:00
wenlong12
edf2cd011d
update bytrace warehouse name
...
Signed-off-by: wenlong12 <wenlong12@huawei.com >
Signed-off-by: wenlong12 <wwx1097114@DESKTOP-2021EGU.localdomain >
2022-05-05 10:05:13 +08:00
guobingbing
129ebdbf25
refactor class FrameHandler
...
Signed-off-by: guobingbing <guobingbing3@huawei.com >
Change-Id: I9f3ff0c04d34a31a34f21da637689eb61d4166f1
2022-05-04 10:36:44 +08:00
zhaozhibo
4b279c9d79
fix codex warning
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-30 10:31:33 +08:00
openharmony_ci
4bcfb3a72c
!1179 disable unstable testcase
...
Merge pull request !1179 from changcheng/fix_ut_error
2022-04-28 23:36:19 +00:00
openharmony_ci
9386917112
!1176 modify performance of debugger
...
Merge pull request !1176 from changcheng/debugger_performance
2022-04-28 23:36:07 +00:00
wengchangcheng
ed785a039e
Descriptor: disable unstable testcase
...
details: disable debugger single step test
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I559CM
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I5913f96c782211ff93b26cf1259a4d96e93bb801
2022-04-28 23:13:43 +08:00
openharmony_ci
d15ba0db5c
!1168 add heapprofiler domain
...
Merge pull request !1168 from Riachel/master
2022-04-28 13:19:48 +00:00
wengchangcheng
e8144ffd5a
Descriptor: modify performance of debugger
...
details: skip check -1 when there's no step event
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I558VZ
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ie65d521cbc79ddd36d05c263dd5ccfd5d82e0b5c
2022-04-28 21:12:37 +08:00
openharmony_ci
e5c716767e
!1160 Avoid JSBackend's pause caused by HandleBreakPoint(...) function right after its pause caused by HandleStep() function in one ByteCodePcChanged(...) function
...
Merge pull request !1160 from Gongyuhang/master
2022-04-28 09:48:29 +00:00
Riachel
3cbf8878ac
add heapprofiler domain
...
Signed-off-by: Riachel <caolili14@huawei.com >
2022-04-28 16:15:49 +08:00
openharmony_ci
36d4abd9db
!1090 MatchWithOffset 接口拆成两个接口
...
Merge pull request !1090 from zhuguanghui123/master
2022-04-28 07:26:02 +00:00
Gongyuhang
7d3a405863
Change the type of the returned value from "void" to "bool" for
...
JSPtHooks::SingleStep(...) function, make it return true only when it
has actually invoked the backend_'s NotifyPaused(...) function.
And let the ByteCodePcChanged(...) function pass over the
HandleBreakPoint(...) function when the HandleStep(...) function returns
true.
Issue:
https://gitee.com/openharmony/ark_js_runtime/issues/I553T1
Changes:
modified: ecmascript/tooling/agent/js_backend.cpp
modified: ecmascript/tooling/agent/js_backend.h
modified: ecmascript/tooling/agent/js_pt_hooks.cpp
modified: ecmascript/tooling/agent/js_pt_hooks.h
modified: ecmascript/tooling/interface/js_debug_interface.h
modified: ecmascript/tooling/interface/js_debugger.cpp
modified: ecmascript/tooling/test/utils/testcases/js_single_step_test.h
modified: ecmascript/tooling/test/utils/test_hooks.h
Signed-off-by: Gongyuhang <gongyuhang5@huawei.com >
2022-04-28 15:20:07 +08:00
zhuguanghui123
495985a93b
Funtions MatchWithOffset and callbackFunc split to two functions.Search separately by row and column.
...
variable extracted: methodId,offset
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I53JD6?from=project-issue
Signed-off-by: zhuguanghui123 <zhuguanghui9@huawei.com >
Change-Id: I4951f10f17fe2af756b336e56e61033ea7fab689
2022-04-28 13:30:51 +08:00
buzhuyu
49a200d419
delete part of debugger_types_test
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I550ZF
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-04-27 18:01:29 +08:00
openharmony_ci
c7d0a0610c
!1142 add file stream for heap dump
...
Merge pull request !1142 from changcheng/add_file_stream
2022-04-26 11:15:49 +00: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
buzhuyu
2912e2cfde
change profiler types
...
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I54J5Q
Signed-off-by: buzhuyu <buzhuyu@huawei.com >
2022-04-26 12:09:16 +08:00