Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It seems that this is because you are using the LLDB debugger. As the same thing happens to me, whilst using the LLDB debugger and debugging C++ code, as you can see here:</p> <p><img src="https://i.stack.imgur.com/2mD3b.png" alt="Greyed out Continue Here with LLDB and C++"></p> <p>I tested this with Objective-C code, and this feature works perfectly fine whilst debugging Objective-C.</p> <p><img src="https://i.stack.imgur.com/RiPN2.png" alt="Continue Here with LLDB and Objective-C"></p> <p>The green button you mentioned, for Xcode 3, also pops-up with Objective-C code (using Xcode 4). As you can see here:</p> <p><img src="https://i.stack.imgur.com/avEzn.png" alt="Green Button"></p> <p>Perhaps it's a bug in Xcode, or Apple just wants you to program in Objective-C. It seems to be only an issue whilst using LLDB, and debugging C++ code (I am unsure of C code). On the other hand, debugging with GDB works fine with both: C++ and Obj-C code.</p> <p>The only real options you have at the current time is:</p> <h2><strong>Option 1:</strong></h2> <p>Use the GDB debugger instead, as the GDB debugger with Xcode supports this.</p> <p>To change the debugger:</p> <p><strong>Step 1:</strong></p> <p>Click your project name under the Scheme Menu, in the top left. <img src="https://i.stack.imgur.com/GAZns.png" alt="Step 1 - Fig 1"> <img src="https://i.stack.imgur.com/Yb209.png" alt="Step 1 - Fig 2"></p> <p><strong>Step 2:</strong></p> <p>Click "Edit Scheme..."</p> <p><img src="https://i.stack.imgur.com/ZAOit.png" alt="Step 2 - Fig 1"></p> <p><strong>Step 3:</strong></p> <p>Once the Edit Scheme menu comes up, click the pop-up menu next to the "Debugger" option.</p> <p><img src="https://i.stack.imgur.com/1XF6y.png" alt="Step 3 - Fig 1"> <img src="https://i.stack.imgur.com/m6JrS.png" alt="Step 3 - Fig 2"></p> <p><strong>Step 4:</strong></p> <p>Click the option "GDB" to use the GDB debugger.</p> <p><img src="https://i.stack.imgur.com/0z8DQ.png" alt="Step 4 - Fig 1"> <img src="https://i.stack.imgur.com/wxEVO.png" alt="Step 4 - Fig 2"></p> <p><strong>NOTE:</strong> Once you click GDB, the "Debug Process As" option will be greyed out.</p> <p><strong>Step 5:</strong></p> <p>Click OK.</p> <p><strong>NOTE:</strong></p> <p>I'm not sure about the limitations whilst using the GDB debugger, over LLDB (I think Xcode does not support any recent versions of GDB, as they have switched to LLDB and clang).</p> <h2><strong>Option 2:</strong></h2> <p>Create a breakpoint to where you wish to continue, and then continue to it. It really isn't that hard compared to right clicking and pressing "Continue Here" or the green button. This also provides the same functionality. With the use of keyboard shortcuts it could be just as fast (see below).</p> <p>For example:</p> <p>Say you want to continue until you hit line 39.</p> <p><img src="https://i.stack.imgur.com/FuSfd.png" alt="Code"></p> <p>Set a breakpoint at line 39.</p> <p><img src="https://i.stack.imgur.com/MOkea.png" alt="Setting a breakpoint"></p> <p>Click "Continue program execution" button, which is the button that likes some-what like a media-play button. Alternatively you can continue using the keyboard shortcut: Command + Ctrl + Y, or use the Menu (Product->Debug->Continue)</p> <p><img src="https://i.stack.imgur.com/NAOqD.png" alt="Continue program execution button"> <img src="https://i.stack.imgur.com/1Nxn7.png" alt="Continue through menu"></p> <p><strong>NOTE:</strong> </p> <p>You need the Debug area shown (Shift-Command-Y), in order to see the "Continue program execution" button.</p> <p><img src="https://i.stack.imgur.com/b8bpc.png" alt="Debug Area"> </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload