Get bogus value when execute break point in a variable [closed]

佐手、 提交于 2019-11-28 12:57:13

问题


I got a bogus value of finalScore, what happened?

I want to know why finalScore is 4339953456 rather than a correct number 520.


回答1:


Your breakpoint is on the finalScore = line, it means that the program is stopped before this value has been computed.

It should show no value instead of a bogus value, probably, but this is not something that you have to worry about: set your breakpoint one line later and your finalScore will have a proper value.



来源:https://stackoverflow.com/questions/37816724/get-bogus-value-when-execute-break-point-in-a-variable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!