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
bc7353dc
Commit
bc7353dc
authored
Apr 07, 2026
by
qq_38816927
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础变量
parent
9d326b62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
34 deletions
+3
-34
DebugDataDemo.kt
...commonMain/kotlin/com.dong.demo013/debug/DebugDataDemo.kt
+3
-34
No files found.
composeApp/src/commonMain/kotlin/com.dong.demo013/debug/DebugDataDemo.kt
View file @
bc7353dc
...
...
@@ -14,30 +14,6 @@ internal fun DebugTestDemo() {
verticalArrangement
=
Arrangement
.
spacedBy
(
16
.
dp
)
)
{
Button
(
onClick
=
{
allBreakpoints
()
},
)
{
Text
(
"断点测试"
,
color
=
Color
.
White
)
}
Button
(
onClick
=
{
getJsons
();
},
)
{
Text
(
"所有基础变量"
,
color
=
Color
.
White
)
}
Button
(
onClick
=
{
complexObject
();
},
)
{
Text
(
"复杂对象"
,
color
=
Color
.
White
)
}
Button
(
onClick
=
{
...
...
@@ -48,14 +24,6 @@ internal fun DebugTestDemo() {
Text
(
"10层复杂对象"
,
color
=
Color
.
White
)
}
// Button(
// onClick = {
// print("打印console调试信息")
// },
//
// ) {
// Text("console信息打印)", color = Color.White)
// }
}
...
...
@@ -85,9 +53,10 @@ fun allBreakpoints(){
/***变量类型**/
fun
getJsons
(){
// val allTypes= DebugAllTypesData ();
val
testInt
:
Int
=
2026
;
val
testInt
:
Int
=
2026
;
print
(
"基础变量查看)"
)
//断点基础变量查看
val
testStr
:
String
=
"长度为128的字符串:a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6A7B8C9D0E1F2G3H4I5J6K7L8M9N0O1P2Q3R4S5T6U7V8W9X0Y1Z2a3b4c5d6e7f8g9h0i1j2k3l4m5n6o7p8q9r0"
;
print
(
"基础变量长字符串查看)"
)
//断点基础变量长字符串查看
}
//复杂对象
...
...
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