yjlft / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

add Python wrapper using SWIG #240

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've got a functional Python wrapper generated using SWIG.  This would let
clients use the processor functionality without requiring them to write C++
or rely on minidump_stackwalk.  I'll post some files in a bit, and then
figure out how to integrate this into the source tree.  This first
attachment is a sample re-implementation of most of minidump_stackwalk in
Python.

Original issue reported on code.google.com by ted.mielczarek on 26 Jan 2008 at 4:53

Attachments:

GoogleCodeExporter commented 9 years ago
First cut at a patch.  I haven't actually tried loading the output of this as a
Python module, because libtool is a pain, and I don't have it installing to the 
right
directory yet, but it builds successfully.  I should probably check in the 
Python/C++
wrapper files that SWIG generates, since it's more likely that people will have
Python installed and want the bindings than it is that they'll have SWIG 
installed.

Original comment by ted.mielczarek on 27 Jan 2008 at 4:47

Attachments:

GoogleCodeExporter commented 9 years ago
Remove unnecessary variables from Makefile.am, they automatically get inserted 
since
they get AC_SUBST'ed.

Original comment by ted.mielczarek on 27 Jan 2008 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
I revisited this and updated the patch:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/breakpad-mq/file/ef06f69b8d2
3/python-bindings

Original comment by ted.mielczarek on 24 Sep 2010 at 1:29

GoogleCodeExporter commented 9 years ago
This doesn't seem to be in the current version.  How much work would it take to 
get it working again?

Original comment by a...@pocketgems.com on 28 May 2014 at 12:22

GoogleCodeExporter commented 9 years ago
Probably not a huge undertaking. Working with SWIG was a bit frustrating due to 
its C++ support being fiddly.

Original comment by ted.mielczarek on 28 May 2014 at 1:17