<div dir="ltr">Hi Vincenzo,<br><br>are you using the pythonnet/pythonnet repo on github? If so, you can modify the setup.py file to build a debug version (set CONFIG="Debug" near the top of the file). You can then attach the visual studio debugger to your python process and step through the C# code. If you're using the source from sourceforge I suggest you try the latest code from github instead and see if that fixes your problem.<div><br></div><div>Without a stack trace or more information about the crash it's hard to tell what might be going wrong I'm afraid.</div><div><br></div><div>Tony</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 18, 2015 at 11:06 AM Vincenzo Gisondi <<a href="mailto:vincenzo.gis@gmail.com">vincenzo.gis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After recompiling the solution project of pythonent accordance with the<br>
procedure oleskii for the .NET framework 4, I'm having a problem with my<br>
code. Here are the first few lines where the crash occurs.<br>
<br>
<br>
import sys, clr<br>
<br>
sys.path.append ("G: / bin_EESPORt")<br>
clr.AddReference ("ASAM.HILAPI.Implementation")<br>
clr.AddReference ("ASAM.HILAPI.Interfaces")<br>
clr.AddReference ("dSPACE.HILAPI.EESPort")<br>
clr.AddReference ("dSPACE.HILAPI.EESPort.Interfaces")<br>
<br>
<br>
from System import *<br>
from System.IO import *<br>
from System.Threading import *<br>
<br>
from ASAM.HILAPI.dSPACE.EESPort import *      #here crash PythonWin<br>
from ASAM.HILAPI.Implementation.EESPort.Error import *<br>
from ASAM.HILAPI.Interfaces.EESPort import *<br>
from ASAM.HILAPI.Interfaces.EESPort.Enum import *<br>
from ASAM.HILAPI.Interfaces.EESPort.ErrorFactory import *<br>
from ASAM.HILAPI.Interfaces.EESPort.ErrorObjects import *<br>
<br>
<br>
When in debug mode i execute the line below Pythonwin crash:<br>
<br>
from ASAM.HILAPI.dSPACE.EESPort import *   #here crash PythonWin<br>
<br>
<br>
The PC system is windows 7 64-bit.<br>
<br>
The IDE used is PythonWin with Python 2.7.9 MSC v.1500 32-bit (Intel)]<br>
on win32.<br>
<br>
The Frameworks installed are: .NET Framework 4 Client Profile, .NET<br>
Framework 4 Extended, .NET Framework 4 Targeting Multi-Pack and Visual C<br>
# 2010 Express.<br>
<br>
Thank you in advance deposit for the help, I really need your help<br>
<br>
_________________________________________________<br>
Python.NET mailing list - <a href="mailto:PythonDotNet@python.org" target="_blank">PythonDotNet@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/pythondotnet" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/pythondotnet</a><br>
</blockquote></div>