https://bugs.kde.org/show_bug.cgi?id=383940

            Bug ID: 383940
           Summary: Python debugger: default working directory is
                    different
           Product: kdev-python
           Version: 5.1.1
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@svenbrauch.de
          Reporter: codestr...@posteo.org
                CC: m...@svenbrauch.de
  Target Milestone: ---

I have a little python 3 test program test1.py

```
import os
print(os.getcwd())
```

Run the program with "Execute Launch" (Python 3, Working Directory: empty) then
the output is

```
/home/user1/dev/kdevelop-bugs
```

Now "Debug Launch":

```
/home/user1/
```

This means when the Working Directory is not configured "Execute Launch" uses
the directory of the current python file (which is handy if relative files are
to be opened) whereas "Debug Launch" uses the home directory. I would expect
that both Execute and Debug behave the same way.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to