* Source/GDBpConnection.m:
(addBreakpoint:): Quote the breakpoint path before sending the GDBp command
retained
- Fix: #160 The code pane could be unpopulated after the debugging the same
script a subsequent time
+- Fix: #163 Breakpoints with a space in the pathname would not be set
1.2.1
- (void)addBreakpoint:(Breakpoint *)bp
{
if (!connected)
- {
return;
- }
- NSString *cmd = [self createCommand:[NSString stringWithFormat:@"breakpoint_set -t line -f %@ -n %i", [bp transformedPath], [bp line]]];
+ NSString *cmd = [self createCommand:[NSString stringWithFormat:@"breakpoint_set -t line -f '%@' -n %i", [bp transformedPath], [bp line]]];
[socket send:cmd];
NSXMLDocument *info = [self processData:[socket receive]];
[bp setDebuggerId:[[[[info rootElement] attributeForName:@"id"] stringValue] intValue]];