[PythonCE] How do you develop on the PocketPC?

Luke Dunstan coder_infidel at hotmail.com
Mon Jan 9 15:09:54 CET 2006


I'm sorry to say that I've seen the NULL bug before but have been too 
distracted by the task at hand to fix it, but here is a patch that fixes it.

By the way, I've recently tried running the remote part of "winpdb" 
(http://www.digitalpeers.com/pythondebugger/) on Windows CE and connecting 
to it over TCP/IP from the GUI running on the PC, and after a trivial change 
(to handle a lack of PATH environment variable) it worked fine. Personally I 
would rather have the ability to communicate to the remote debugger using 
ActiveSync rather than only TCP/IP because it is more convenient especially 
since I only have Bluetooth not WiFi, so I have been investigating using the 
Remote API (RAPI).

Luke

----- Original Message ----- 
From: "Thomas Heller" <theller at python.net>
To: <pythonce at python.org>
Sent: Monday, January 09, 2006 8:51 PM
Subject: [PythonCE] How do you develop on the PocketPC?


> Does anyone (everyone ?) start the Python interpreter on the device, and
> use the stylus to enter interactive commands?
> Or does one write scripts on the PC, let ActiveSync transfer them, and
> start them by clicking on the filename?
>
> I cannot really believe that.  BTW, when an uncatched exception occurs
> in a script, I see a box displaying:
>
> """
> Python Error
> ============
> Traceback (innermost last):
> <NULL>: <NULL>
> """
>
> When I close this box (by clicking the OK button in the upper right
> corner), I can see (for less than a second) the interpreter window
> showing the real traceback, but not long enough to be able to read it.
>
> So, I made a pair of scripts which start a server on the host PC, which
> sends commands to a script running on the device, executing them, and
> send the results back for display on the PC.  Don't know if it is worth
> to post it here...
>
> Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: null-exception-fix.diff
Type: application/octet-stream
Size: 425 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonce/attachments/20060109/7e1b8587/attachment.obj 


More information about the PythonCE mailing list