View Issue Details

IDProjectCategoryView StatusLast Update
0025271LazarusDebuggerpublic2013-11-02 19:18
ReporterXiaoguang WangAssigned ToMartin Friebe 
Status resolvedResolutionfixed 
PlatformMacOSOS Version
Product Version1.0.12Product Build 
Target VersionFixed in Version1.0.14 
Summary0025271: wrong "-environment-cd", doube quoted ?
DescriptionWhen trying to run and debug an app, the environment-cd looks like:

<-environment-cd "\"/Users/chice/work/lazarus-test/\"">
^error,msg="\"/Users/chice/work/lazarus-test/\": No such file or directory."

then the command fails, and the run & debug operation fails

I have tested the command, it shoud be:
-environment-cd "/Users/chice/work/lazarus-test/"

but not:
-environment-cd "\"/Users/chice/work/lazarus-test/\""

TagsNo tags attached.
Fixed in Revision43255
Attached Files


Xiaoguang Wang

2013-11-02 17:01

reporter   ~0071102

I found a solution:

Menu > Tools > Options > Debugger

set EncodeCurrentDirPath to gdfeNone seems OK

I am using GDB 7.6

Martin Friebe

2013-11-02 19:18

manager   ~0071103

The encoding is/was for GDB 6.3.50, which up until now was part of XCode.

The issue has been fixed in rev 43255, and will be part of the next releases (1.2RC1 and 1.0.14) / no dates yet

This also will fix the need to specify the host application, inside the app bundle.

Issue History

Date Modified Username Field Change
2013-11-02 16:56 Xiaoguang Wang New Issue
2013-11-02 16:56 Xiaoguang Wang Status new => assigned
2013-11-02 16:56 Xiaoguang Wang Assigned To => Martin Friebe
2013-11-02 17:01 Xiaoguang Wang Note Added: 0071102
2013-11-02 19:18 Martin Friebe Fixed in Revision => 43255
2013-11-02 19:18 Martin Friebe LazTarget => -
2013-11-02 19:18 Martin Friebe Note Added: 0071103
2013-11-02 19:18 Martin Friebe Status assigned => resolved
2013-11-02 19:18 Martin Friebe Fixed in Version => 1.0.14
2013-11-02 19:18 Martin Friebe Resolution open => fixed