简体   繁体   中英

Xcode breakpoints greyed out and not working

I'm debugging an Objective-C app on the iPhone simulator. The app compiles and works. Xcode settings previously let me set debugger breakpoints and have the debugger actually break.

Now, the breakpoints show up in grey and the debugger doesn't stop on any breakpoint. Clicking on the breakpoint makes it light grey, but not blue like normal.

Xcode 的这个屏幕截图显示了灰色的断点。

Can someone tell me which setting I need to revert to enable debugging again? Thanks.

Open your Debug Area:

在此处输入图片说明

Enable the Breakpoint and make it highlighted. BOOM!

In the top menu, open Debug and click Activate breakpoints . You could also try cmd + y .

You should also be able to right click directly on the break point and choose "Enable Break Point" from the pop up menu.

OK...

You have all your breakpoints generally disabled. This will gray out and ignore breakpoints even if they individually say they are enabled.

Go to the Debug menu in Xcode and select Activate Breakpoints .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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