debugging the Python process with gdbPosted in Python on 2011-10-12 10:08:50, tagged with debug, gdb, Python.
Sometimes we want to debug a running Python process, or a coredump of a python process. For example, a MOD_WSGI process is now dead and
Call relationship between CPython. The call relationship between CPython. because python has many powerful open-source libraries, c can use the methods to complete more functions. Therefore, C is particularly important to call python methods. Call
Debugging a Python process with gdb sometimes we want to debug a running Python process, or a Python process coredump. For example, now encountered a MOD_WSGI process zombie, do not accept the request, want to see exactly what line of Python code to
Call relationships between C/python
Because Python has a lot of powerful open source libraries, C can borrow methods to do more.
So C's method of calling Python is especially important.
Method/Step
Ubuntu 14.04 Linux CGCC (Ubuntu 4.8.2-19ubuntu1)
In boost. Python, python is embedded in the C ++ section, and Chinese documents found on the Internet seem to be outdated,
Such as boost. Python Study Notes http://edyfox.codecarver.org/html/boost_python.html
InBoost. Python version 2To provide
Basic knowledge
Compiling languages and interpreting languages
Although many programming techniques are now blending, there are many interpretive languages with compiled systems, and compiled languages with complex run-time systems, but usually
It is well known that a service (Wsgi interface) written in scripting languages requires a server container, common such as PHP php-fpm, LIGHTD, and so on. The uwsgi,uwsgi used in Python is a new protocol based on WSGI that can be used to deploy
Python is a very good scripting language, with simple and clear syntax and a rich and powerful class library. It is often nicknamed the Glue language, which makes it easy to make a variety of modules in other languages. But Python interface design
Pythonpdf book: http://www.oschina.net/bbs/thread/9780python: includes calling APIs in C ++ in Python and calling Python scripts in C ++. Build a python and C ++ hybrid system: Drawing World Program: Drawing http://bambooice.blog.hexun.com/37655834
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.