The problem is that for Python 3.11+, the frame object has changed, hence axdebug is not built for it.

Question: Would this be fixed any time soon? This feature is definitely needed for Python Active Script debugging. Also even with other Python binding framework such as pybind11, Active Scripting is still valuable because we can expose any existing COM framework to the Python Active Script easily, with much porting efforts.



    def _why_cant_build_extension(self, ext):
        """Return None, or a reason it can't be built."""
# axdebug fails to build on 3.11 due to Python "frame" objects changing. # This could be fixed, but is almost certainly not in use any more, so
        # just skip it.
        if ext.name == "axdebug" and sys.version_info >= (3, 11):
            return "AXDebug no longer builds on 3.11 and up"

include_dirs = self.compiler.include_dirs + os.environ.get("INCLUDE", "").split(
            os.pathsep
        )


------ Original Message ------
From "Wuping Xin" <oudou...@gmail.com>
To "python-win32@python.org" <python-win32@python.org>; "Mark Hammond" <mhamm...@skippinet.com.au>
Date 3/1/2025 4:14:09 PM
Subject Re: python-win32 Digest, Vol 258, Issue 1

Forget it. I figured out.

W. X.


------ Original Message ------
From python-win32-requ...@python.org
To python-win32@python.org
Date 3/1/2025 12:00:02 PM
Subject python-win32 Digest, Vol 258, Issue 1

Send python-win32 mailing list submissions to
        python-win32@python.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.python.org/mailman/listinfo/python-win32
or, via email, send a message with subject or body 'help' to
        python-win32-requ...@python.org

You can reach the person managing the list at
        python-win32-ow...@python.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of python-win32 digest..."


Today's Topics:

   1. Python Active Scripting Debug (Wuping Xin)


----------------------------------------------------------------------

Message: 1
Date: Sat, 01 Mar 2025 01:54:24 +0000
From: "Wuping Xin" <oudou...@gmail.com>
To: "python-win32@python.org" <python-win32@python.org>
Subject: [python-win32] Python Active Scripting Debug
Message-ID: <em9d4802a6-462f-4de5-9a62-ea638a98a...@3706830e.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi All,

I am trying to debug Python Active Scripting, using Visual Studio.  I am
100% sure it should work but I just cannot get it work.

I've installed the debug symbols of the Python version, and installed
Visual Studio Python Native Development tools.

I also set the "Debugging" registry entry for the ActivePy from 0 to 1.

I am able to attach the Python script to the PythonActiveScript host.

But, I just got the following message:

Debugging extensions (axdebug) module does not exist - debugging is
disabled..


Any insights?

Thank you in advance!

W.X.


------------------------------

Subject: Digest Footer

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


------------------------------

End of python-win32 Digest, Vol 258, Issue 1
********************************************
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to