简体   繁体   English

Xcode变量调试检查器无法正常工作

[英]Xcode variable debug inspector not working properly

No matter what I do, Xcode (bottom left below the editor) shows the value of self and my first variable in the unit I am trying to debug or step through instead of the variables I want to inspect. 无论我做什么,Xcode(编辑器左下方的底部)都会显示self的值以及我要调试或逐步执行的单元中的第一个变量,而不是要检查的变量。

What I have tried: 我尝试过的

  • Restarted xcode 重新启动xcode
  • Clean + rebuild 清理+重建
  • Hover mouse over variable, click the down arrow (it seems like Xcode does not grab my click correctly, sort of hard to explain) 将鼠标悬停在变量上,单击向下箭头(Xcode似乎无法正确抓住我的点击,有点难以解释)

No tooltip is shown either when I hover over a variable. 将鼠标悬停在变量上时,也不会显示任何工具提示。 (I have tried to click the edior first to ensure it has focus.) (我尝试过首先单击edior以确保它具有焦点。)

在调试窗口的左下方,可能会显示“ Auto将其设置为所有变量,寄存器...等”,然后查看它是否显示了您正在寻找的内容,否则发布正在发生的情况的图片

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM