From d9fe6479f27dd473c9b23e6d88adb4f115684ef9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 6 Feb 2009 01:31:09 -0500 Subject: [PATCH] When sending breakpoints to Xdebug, use the [transformedPath] * Source/GDBpConnection.m: (addBreakpoint:): Use [transformedPath] instead of [file] --- Source/GDBpConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/GDBpConnection.m b/Source/GDBpConnection.m index 6564ccd..2f9662e 100644 --- a/Source/GDBpConnection.m +++ b/Source/GDBpConnection.m @@ -237,7 +237,7 @@ NSString *kErrorOccurredNotif = @"GDBpConnection_ErrorOccured_Notification"; return; } - NSString *cmd = [self createCommand:[NSString stringWithFormat:@"breakpoint_set -t line -f %@ -n %i", [bp file], [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]]; -- 2.43.5