``` error = debug_get_instruction_pointer(&debugContext, thread, &ip, &fp); ``` Also I haven't added support for getting the register context yet.