Well, __builtin_trap works, but how do you step past it, like you could the Debugger() call?
My current workaround is:
#pragma mark - Debugging
void LineSolver::PreciseDebug(vector<unsigned char> &lineFromBoard)
{
if((myType == COL_SOLVER) && (myIndex == 9)){
callCount++;
if(callCount >= 1){
cout << DumpColorLine(lineFromBoard, true) << endl << endl;
}
}
}
I just set a breakpoint in there.
Post
Replies
Boosts
Views
Activity
This seems to work, but the applicationShouldOpenUntitledFile method never seems to get called:
// Let's not open default window just because we're being brought to the front.
-(BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)hasVisibleWindows
{
return NO;
}
-(BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
return NO;
}