PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

IronPython 2.7 not debugging on Visual Studio 2015 windows 10

Open pantalipe opened this issue 10 years ago • 2 comments

I've installed visual studio community 2015 with PTVS and when i try to debug a simple .py console application i get this:

'ipy.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files (x86)\IronPython 2.7\ipy.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamic\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Dynamic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Scripting\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Scripting.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\IronPython\v4.0_2.7.5.0__7f709c5b713576e1\IronPython.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\IronPython.Modules\v4.0_2.7.5.0__7f709c5b713576e1\IronPython.Modules.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\Program Files (x86)\IronPython 2.7\DLLs\IronPython.SQLite.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\Program Files (x86)\IronPython 2.7\DLLs\IronPython.Wpf.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_pt-BR_b77a5c561934e089\mscorlib.resources.dll'. Module was built without symbols.
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'Snippets.scripting'. 
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'Anonymously Hosted DynamicMethods Assembly'. 
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'Snippets.debug.scripting'. 
'ipy.exe' (CLR v4.0.30319: ipy.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\ISymWrapper\v4.0_4.0.0.0__b03f5f7f11d50a3a\ISymWrapper.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[7300] ipy.exe' has exited with code 0 (0x0).

I don't know what to do! Someone can help me? Thanks in advance

pantalipe avatar Jan 24 '16 22:01 pantalipe

Put a clean install of win 10 pro and solved the problem.

pantalipe avatar Jan 25 '16 08:01 pantalipe

I know this is closed and late but could you provide some information on what kind of configuration you used in order to get this up and running? I have been working to get debugging on IronPython 2.7 for a huge amount of time without any success. I'm using it in a hosted environment( I expose some variables from a C# program for the .py script and start the .py script using Process.Start)

ch-hristov avatar Jul 30 '16 12:07 ch-hristov