From 562425750ac0e9170f9fef98b162051de5ff87f8 Mon Sep 17 00:00:00 2001 From: "liana.bakradze" Date: Thu, 3 Sep 2015 18:37:04 +0300 Subject: [PATCH] EDU-437 Throwable at com.jetbrains.python.debugger.pydev.RemoteDebugger.removeTempBreakpoint --- .../com/jetbrains/python/edu/debugger/PyEduDebugRunner.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/edu/src/com/jetbrains/python/edu/debugger/PyEduDebugRunner.java b/python/edu/src/com/jetbrains/python/edu/debugger/PyEduDebugRunner.java index 4eaa50218156..6cb431688bea 100644 --- a/python/edu/src/com/jetbrains/python/edu/debugger/PyEduDebugRunner.java +++ b/python/edu/src/com/jetbrains/python/edu/debugger/PyEduDebugRunner.java @@ -20,6 +20,7 @@ import com.intellij.openapi.fileEditor.FileDocumentManager; import com.intellij.openapi.module.ModuleManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.projectRoots.Sdk; +import com.intellij.openapi.util.SystemInfo; import com.intellij.openapi.util.io.FileUtil; import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VirtualFile; @@ -87,7 +88,8 @@ public class PyEduDebugRunner extends PyDebugRunner { } RunProfile runProfile = environment.getRunProfile(); if (runProfile instanceof PythonRunConfiguration) { - return FileUtil.toSystemIndependentName(((PythonRunConfiguration)runProfile).getScriptName()); + String name = FileUtil.toSystemIndependentName(((PythonRunConfiguration)runProfile).getScriptName()); + return SystemInfo.isWindows ? name.toLowerCase() : name; } return null; }