Debugging in Xcode

By George Calvert, 12 October, 2023

Forum
App Development and Programming

Hi Xcode developers,

Does anyone know how to determine the current line of source code when debugging in Xcode? For example, when a breakpoint is hit or when stepping through code , how do I know the next line of code to be run? I understand there is a visual indication of the current line in the Xcode editor but I cannot find a non-visual way to determine it.

Thanks.

George Calvert

Options

Comments

By João Santos on Monday, October 23, 2023 - 01:33

Have you tried the Jump to Instruction Pointer command from the Navigate menu, or Control+Command+P as a shortcut by default?

By George Calvert on Thursday, November 23, 2023 - 01:33

Hi João,

That was exactly what I needed! Thanks so much.

George