<div dir="ltr">Hi all,<div><br></div><div>I'm trying to extract some data for a surface, but am getting a segfault in the `YTSurfaceBase.get_data` method - probably the same thing as this [1] yt issue.  I've tracked it down to the `FillTriangleValues` call in `march_cubes_grid` with a combination of pdb and gdb.  I can't figure out what is wrong, however, because all the variable values are optimized out.</div>
<div><br></div><div>So my question:  anyone know how to re-run setup.py and turn on debugging flags for cython code? </div><div><br></div><div>I've found information about cygdb, which would probably be easier than pdb+gdb.  Their documentation says to rebuild with the --pyrex-gdb flag to setup.py, but that doesn't seem to be recognized by setuptools.  Other webpages say to set the "-g" or "--cython-gdb" flags, but those also do not work.</div>
<div><br></div><div>Chris</div><div><br></div><div><br></div><div>[1] <a href="https://bitbucket.org/yt_analysis/yt/issue/633/vertices-not-correctly-created-in-surface">https://bitbucket.org/yt_analysis/yt/issue/633/vertices-not-correctly-created-in-surface</a></div>
</div>