New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cygdb not working with recent virtualenvs #1961

Open
BertrandBordage opened this Issue Oct 29, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@BertrandBordage
Contributor

BertrandBordage commented Oct 29, 2017

In recent Python virtualenvs, there is no activate_this.py file.

Cygdb therefore fails to load:

Reading symbols from python3-dbg...done.
gdb command file: Activating virtualenv: /home/myuser/.virtualenvs/myenv; path_to_activate_this_py: /home/myuser/.virtualenvs/myenv/bin/activate_this.py
Traceback (most recent call last):
  File "<string>", line 8, in <module>
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/myuser/.virtualenvs/myenv/bin/activate_this.py'
/tmp/tmpohzn6ela:19: Error in sourced command file:
Error while executing Python code.

@scoder scoder added the help wanted label Oct 31, 2017

@Juanlu001

This comment has been minimized.

Show comment
Hide comment
@Juanlu001

Juanlu001 Dec 19, 2017

Is cygdb supported with python3-dbg at all? If so, the documentation is outdated http://docs.cython.org/en/latest/src/userguide/debugging.html Not sure if that's the cause of this issue though.

Juanlu001 commented Dec 19, 2017

Is cygdb supported with python3-dbg at all? If so, the documentation is outdated http://docs.cython.org/en/latest/src/userguide/debugging.html Not sure if that's the cause of this issue though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment