I'm using Python Tools for Visual Studio Express 2013. I can't do the c++ debugging of an extension. I've already enabled native code debugging. My doubt is how to link the 2 projects (c++ and python)? The c++ library is loaded in this way in python (3.4
- 64bit):
cpplib = ctypes.cdll.LoadLibrary(CPPLIB_PATH)
During the debugging I arrive to this point in the python execution:
def update(self, dtrain):
""" update """
assert isinstance(dmatr, DMatrix)
cpplib.Update( self.handle, dtrain.handle )
then I see that Visual Studio opens
init.py
def __getattr__(self, name):
if name.startswith('__') and name.endswith('__'):
raise AttributeError(name)
func = self.__getitem__(name)
setattr(self, name, func)
return func
and finally it opens the disassemby instead of a proper c++ debug environment... :-(
Screenshot of call stack:
http://snag.gy/AFkis.jpg