Adding breakpoint setting instructions for Xcode
This commit is contained in:
parent
e3d29fbf7c
commit
c76ef1e678
|
@ -15,6 +15,19 @@
|
|||
|
||||
Debugging this way, you can have Xcode run an executable in a .app or just from any directory. There do seem to be differences in the ways some graphics systems are initialized - I get different window scaling in each case.
|
||||
|
||||
### Breakpoints
|
||||
_I can't get these to be set via the Xcode Debugger at the moment. I'm not sure why. As an alternative, you can set them via the lldb command line interface in Xcode, and then navigate the stack with the UI just fine._
|
||||
|
||||
**To set on a particular file/line**
|
||||
`b --file <file_name> --line <line_number>`
|
||||
|
||||
**To set at the entry to a particular function**
|
||||
`b <function_name>`
|
||||
_Note: this doesn't work if function_name is "main" - it adds a baker's dozen of breakpoints at different places_
|
||||
|
||||
**To remove all breakpoints**
|
||||
`breakpoint delete`
|
||||
|
||||
## Graphics
|
||||
|
||||
### OpenGL
|
||||
|
|
Loading…
Reference in New Issue