Hi Dave,
As you found the segment fault on OSX related to debugger.
In dlgDirectDbg::OnTargetComplete(), It waits for the function this->Show(true) for completion, and "this" pointer will not be available on cancellation, and hence It is crashing on next line.
ie. this->SetFocus();
On removing this line, the problem is getting solved.