Skip to content
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

unsure how to install #16

Closed
CapsAdmin opened this issue Nov 28, 2017 · 2 comments
Closed

unsure how to install #16

CapsAdmin opened this issue Nov 28, 2017 · 2 comments

Comments

@CapsAdmin
Copy link

CapsAdmin commented Nov 28, 2017

I'm not sure how this is supposed to be installed. Should I cd my way into the repo and then source luajit2.1.py and then run as usual? if I do this I get

(gdb) cd openresty-gdb-utils/
Working directory /home/caps/goluwa/data/bin/linux_x64/openresty-gdb-utils.
(gdb) source luajit21.py
Traceback (most recent call last):
 File "luajit21.py", line 4, in <module>
   import gdbutils
ImportError: No module named 'gdbutils'
(gdb) 

I feel like I'm missing something obvious here as I'm not very experienced with GDB.

(initially i made this issue with nothing and a + sign by accidentally hitting enter or something)

@CapsAdmin CapsAdmin changed the title + unsure how to install Nov 28, 2017
@spacewander
Copy link
Member

The installation is documented there: https://github.com/openresty/openresty-gdb-utils#installation

Note that you need to change python's import path for importing gdbutils. It is about these two lines in the installation:

py import sys
py sys.path.append("/path/to/openresty-gdb-utils")

@CapsAdmin
Copy link
Author

That works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants