IronLanguages / IronLanguages/ironpython3

IronPython 3.4 with Visual Studio 2022 | How to debug

Open
#1,659 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

Description

I download IronPython 3.4 from here I'm using Visual Studio 2022 with python support.
I can see IronPython is correctly recognized in the Python environments window:

image

but debug fails to run with the following error:
The program 'ipy32.exe' has exited with code 4294967295 (0xffffffff).

image

Note: I also tried with the IronPython nuget packet, it still doesn't work.

Steps to Reproduce
  1. Download IronPython from here
  2. Add and configure python support on Visual Studio
  3. Try to debug the code, it doesn't work while IronPython 2.7 did.
Versions

IronPython 3.4.0 (3.4.0.1000)
[.NETCoreApp,Version=v6.0 on .NET 6.0.14 (64-bit)]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with IronPython 3.4.0, Visual Studio 2022 Python support, and the downloaded package or NuGet package. Check the reported ipy32.exe exit code and compare the configuration with the stated IronPython 2.7 behavior; done means identifying a confirmed cause or documenting the required debugging configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.