Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TestToolChainDemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
dsq
TestToolChainDemo
Commits
dfd89616
Commit
dfd89616
authored
Mar 31, 2026
by
qq_38816927
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attach
parent
c526145b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
App.kt
composeApp/src/commonMain/kotlin/com.dong.demo013/App.kt
+3
-8
DebugDataDemo.kt
...commonMain/kotlin/com.dong.demo013/debug/DebugDataDemo.kt
+1
-1
Index.ets
harmonyApp/entry/src/main/ets/pages/Index.ets
+2
-0
No files found.
composeApp/src/commonMain/kotlin/com.dong.demo013/App.kt
View file @
dfd89616
...
...
@@ -73,19 +73,14 @@ internal fun HomeScreen(
modifier
=
Modifier
.
fillMaxWidth
(),
verticalArrangement
=
Arrangement
.
spacedBy
(
8
.
dp
)
)
{
Text
(
"
数据类型
"
)
Text
(
"
断点测试
"
)
Button
(
onClick
=
{
val
debugDataDemo
=
ComponentDemo
(
id
=
"debug_test_demo"
,
title
=
"断点调试-数据类型"
,
group
=
ComposeGroup
.
Foundation
)
onSelect
(
debugDataDemo
)
allBreakpoints
()
},
modifier
=
Modifier
.
fillMaxWidth
()
)
{
Text
(
"
进入断点测试-数据类型
"
)
Text
(
"
attach断点测试触发
"
)
}
}
...
...
composeApp/src/commonMain/kotlin/com.dong.demo013/debug/DebugDataDemo.kt
View file @
dfd89616
...
...
@@ -92,7 +92,7 @@ fun testCommonBreakpoint() {
val
a
:
Int
=
1
;
print
(
"a=1"
);
//普通断点设置处
val
b
:
Int
=
2
;
print
(
"b=2"
);
//普通断点禁用
设置
print
(
"b=2"
);
//普通断点禁用
处
val
c
:
Int
=
3
;
print
(
"c=3"
);
//普通断点设置处2
}
...
...
harmonyApp/entry/src/main/ets/pages/Index.ets
View file @
dfd89616
...
...
@@ -10,6 +10,7 @@ struct Index {
private controller: ArkUIViewController | undefined = undefined;
@State errorMessage: string = 'Native module not ready';
ab
aboutToAppear() {
//ArkTs生命周期断点处
...
...
@@ -18,6 +19,7 @@ struct Index {
this.errorMessage = 'nativeApi is undefined';
return;
}
try {
this.controller = nativeApi.MainArkUIViewController();
const state = this.controller ? 'created' : 'not_created';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment