Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add more error info to 'Debugger failed' message #34

merged 1 commit into from

2 participants

Paul Thorsteinson Wen-Hao Lue
Paul Thorsteinson

When adding Pony to an existing project I got a 'Debugger failed' message. I had this working in other projects so I was a bit surprised. In any case after looking into it I noticed there is error info so that should be outputted as well to help the user diagnose the issue.

Paul Thorsteinson paulthorsteinson Make 'Debugger failed' message more informative.
Now gives users more info to act upon when they get the debugger failed message
Wen-Hao Lue

Sounds fair. Thanks for the contribution.

Wen-Hao Lue wlue merged commit 72cea19 into from
David Apgar davidapgar referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2012
  1. Paul Thorsteinson

    Make 'Debugger failed' message more informative.

    paulthorsteinson authored
    Now gives users more info to act upon when they get the debugger failed message
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ObjC/PonyDebugger/PDDebugger.m
2  ObjC/PonyDebugger/PDDebugger.m
@@ -174,7 +174,7 @@ - (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reas
- (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error;
- NSLog(@"Debugger failed");
+ NSLog(@"Debugger failed with web socket error: %@", [error localizedDescription]);
_socket.delegate = nil;
_socket = nil;
Something went wrong with that request. Please try again.