mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix incorrect path in Attach to process and rebuild binaries for Windows and Linux (PY-17986)
This commit is contained in:
Binary file not shown.
Executable → Regular
BIN
Binary file not shown.
Executable → Regular
BIN
Binary file not shown.
Binary file not shown.
Executable → Regular
Executable → Regular
@@ -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")){
|
||||
|
||||
Reference in New Issue
Block a user