Linux和Windows系统下相同代码的差异 #154
Answered
by
RicoloveFeng
VansamaZWT
asked this question in
Q&A
-
|
我使用了相同的代码(除中英文),但是linux系统下第一次输入一定是无效的,这让我很费解,也不知道如何上网查询这个bug,希望各位能给予一点帮助 |
Beta Was this translation helpful? Give feedback.
Answered by
RicoloveFeng
Mar 26, 2022
Replies: 2 comments 1 reply
-
|
我尚不会在Linux中设置断点,这让我的问题难以解决 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
对于不方便断点的情况,你可以保存读取到的东西,然后逐字符(甚至是字符对应的数字)打印出来,看看到底接收了什么东西。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RicoloveFeng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


对于不方便断点的情况,你可以保存读取到的东西,然后逐字符(甚至是字符对应的数字)打印出来,看看到底接收了什么东西。