Fix incorrect path in Attach to process and rebuild binaries for Windows and Linux (PY-17986)

This commit is contained in:
Elizaveta Shashkova
2017-06-20 14:28:33 +03:00
parent f697c598fb
commit 232f814937
8 changed files with 2 additions and 2 deletions
Binary file not shown.
Binary file not shown.
View File
View File
@@ -1080,7 +1080,7 @@ extern "C"
auto pyFalse = boolFromLong(0);
auto pydevdTracingMod = PyObjectHolder(isDebug, pyImportMod("pydevd_tracing"));
auto pydevdTracingMod = PyObjectHolder(isDebug, pyImportMod("_pydevd_bundle.pydevd_tracing"));
if (*pydevdTracingMod == nullptr) {
if(showDebugInfo){
std::cout << "pydevd_tracing module null! " << std::endl << std::flush;
@@ -234,7 +234,7 @@ int _PYDEVD_ExecWithGILSetSysStrace(bool showDebugInfo, bool isDebug){
CHECK_NULL(pyImportModFunc, "PyImport_ImportModuleNoBlock not found.\n", 8);
PyObjectHolder pydevdTracingMod = PyObjectHolder(isDebug, pyImportModFunc("pydevd_tracing"));
PyObjectHolder pydevdTracingMod = PyObjectHolder(isDebug, pyImportModFunc("_pydevd_bundle.pydevd_tracing"));
CHECK_NULL(pydevdTracingMod.ToPython(), "pydevd_tracing module null.\n", 9);
if(!pyHasAttrFunc(pydevdTracingMod.ToPython(), "_original_settrace")){