PyDev.Debugger: Error when injecting code in target process. Error code: 3 (on windows)

I trying to attach to python3.5 process ...... pydevd_attach_to_process\attach_pydevd.py" --port 53687 --pid 4140

Having error:

Connecting to 64 bits target Injecting dll Dll injected Allocating code in target process Writing code in target process Allocating return value memory in target process Injecting code to target process Waiting for code to complete Error when injecting code in target process. Error code: 3 (on windows)

Running attach_pydevd.py with administrator rights not helped

Yet i can successfuly attach to python2.7 process (64-bit also).

os: windows 7

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (8 by maintainers)

Most upvoted comments

I just got the same error with latest pycharm (2018.2 community) windows 10 python 3.7

Yes… Hopefully I’ll be able to fix that before the end of this year.

@fabioz Would you mind re-open this issue? So we know when you will fix it. I tried it on python 3.7.0 and seems still does not work.

This is a known issue (the attach to process needs to be updated to work with Python 3.7).

Same issue with Python 3.7.3 and pycharm 2019.1.3 (community edition) Error when injecting code in target process. Error code: 3 (on windows)