Re: Python Active Scripting Debug

Wuping Xin via python-win32 <[email protected]> Mon, 03 Mar 2025 16:07:06 +0000
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
--===============6852759184619732711==
Content-Type: multipart/alternative;
 boundary="------=_MBA8A2C1A0-C439-4F62-AA26-B22E3B9255C2"

--------=_MBA8A2C1A0-C439-4F62-AA26-B22E3B9255C2
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable


Thank you Mark for the response.  Appreciate your input.

Best
Wuping

------ Original Message ------
From "Mark Hammond" <[email protected]>
To "Wuping Xin" <[email protected]>; "[email protected]"=20
<[email protected]>
Date 3/3/2025 10:24:18 AM
Subject Re: [python-win32] Python Active Scripting Debug

>It has been quite a few years since anyone worked on that, but in=20
>general it should "just work" if everything is registered correctly.=20
>There are a few demos which should make OK starting points, and=20
>ensuring everything is registered for debugging, and debugging output=20
>can be seen (typically via win32traceutil) must be done. Unfortunately,=20
>I'm not aware of anyone trying to use the VS tools in this way.
>
>Good luck,
>
>Mark
>
>On 2025-02-28 8:54 p.m., Wuping Xin via python-win32 wrote:
>>Hi All,
>>
>>I am trying to debug Python Active Scripting, using Visual Studio.  I=20
>>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=20
>>Visual Studio Python Native Development tools.
>>
>>I also set the "Debugging" registry entry for the ActivePy from 0 to=20
>>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=20
>>disabled..
>>
>>
>>Any insights?
>>
>>Thank you in advance!
>>
>>W.X.
>>_______________________________________________
>>python-win32 mailing list
>>[email protected]
>>https://mail.python.org/mailman/listinfo/python-win32
--------=_MBA8A2C1A0-C439-4F62-AA26-B22E3B9255C2
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head>
   =20
  <style id=3D"css_styles" type=3D"text/css"><!--blockquote.cite { margin-l=
eft: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-=
left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px;=
 padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding=
-top: 0px; }
a img { border: 0px; }
table { border-collapse: collapse; }
li[style=3D'text-align: center;'], li[style=3D'text-align: center; '], li[s=
tyle=3D'text-align: right;'], li[style=3D'text-align: right; '] {  list-sty=
le-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb soli=
d; padding-left: 0.3em; }
a.em-mention[href] { text-decoration: none; color: inherit; border-radius:=
 3px; padding-left: 2px; padding-right: 2px; background-color: #e2e2e2; }
--></style></head>
  <body><div><br /></div>
<div>Thank you Mark for the response.=C2=A0 Appreciate your input.</div><di=
v><br /></div><div>Best</div><div>Wuping</div>
<div x-em-replyforwardheader=3D""><br /></div>
<div>
<div>------ Original Message ------</div>
<div>From "Mark Hammond" &lt;<a href=3D"mailto:[email protected]">m=
[email protected]</a>&gt;</div>
<div>To "Wuping Xin" &lt;<a href=3D"mailto:[email protected]">oudouxin@gma=
il.com</a>&gt;; "[email protected]" &lt;<a href=3D"mailto:python-win3=
[email protected]">[email protected]</a>&gt;</div>
<div>Date 3/3/2025 10:24:18 AM</div>
<div>Subject Re: [python-win32] Python Active Scripting Debug</div></div><d=
iv x-em-quote=3D""><br /></div>
<div id=3D"x9622fed07328432"><blockquote cite=3D"d8407d43-2c2c-4655-804e-af=
[email protected]" type=3D"cite" class=3D"cite2">

    <p>It has been quite a few years since anyone worked on that, but in
      general it should "just work" if everything is registered
      correctly. There are a few demos which should make OK starting
      points, and ensuring everything is registered for debugging, and
      debugging output can be seen (typically via win32traceutil) must
      be done. Unfortunately, I'm not aware of anyone trying to use the
      VS tools in this way.
</p>
    <p>Good luck,</p>
    <p>Mark</p>
    <div class=3D"moz-cite-prefix">On 2025-02-28 8:54 p.m., Wuping Xin via
      python-win32 wrote:
<br />
    </div>
    <blockquote type=3D"cite" cite=3D"mid:em9d4802a6-462f-4de5-9a62-ea638a9=
[email protected]" class=3D"cite">Hi
      All,
     =20
<br />
      <br />
      I am trying to debug Python Active Scripting, using Visual
      Studio.=C2=A0 I am 100% sure it should work but I just cannot get it
      work.
     =20
<br />
      <br />
      I've installed the debug symbols of the Python version, and
      installed Visual Studio Python Native Development tools.
     =20
<br />
      <br />
      I also set the "Debugging" registry entry for the ActivePy from 0
      to 1.
     =20
<br />
      <br />
      I am able to attach the Python script to the PythonActiveScript
      host.
     =20
<br />
      <br />
      But, I just got the following message:
      <br />
      <br />
      Debugging extensions (axdebug) module does not exist - debugging
      is disabled..
     =20
<br />
      <br />
      <br />
      Any insights?
      <br />
      <br />
      Thank you in advance!
      <br />
      <br />
      W.X.
      <br />
      _______________________________________________
      <br />
      python-win32 mailing list
      <br />
      <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:python-win32@pyt=
hon.org">[email protected]</a>
      <br />
      <a class=3D"moz-txt-link-freetext" href=3D"https://mail.python.org/ma=
ilman/listinfo/python-win32">https://mail.python.org/mailman/listinfo/pytho=
n-win32</a>
      <br />
    </blockquote>
  </blockquote></div>


</body></html>
--------=_MBA8A2C1A0-C439-4F62-AA26-B22E3B9255C2--


--===============6852759184619732711==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32

--===============6852759184619732711==--