A
Andrew Fell-Gordon
I have developed a ticketing application running on Psion Teklogix
WorkaboutPro running under CE4.2.Net and written in
Vb.net under CF 1.1.
The application is generally working well but is subject to occasional
freezes. It stops responding to key presses or clicks on
the touch screen. These occur, from user descriptions, in situations which
are regularly used without problems. I have extensive
Try/catch error trapping in place and no errors are being caught.
One common factor from the user descriptions is that the freezes occur when
I am hiding and showing panels to change the
interface. I know that the most likely cause of freezes is attempts to
update the interface from worker threads and I have been through
the code checking for these and making sure that Invoke was used if the
interface was updated. While I use separate threads
for individual background jobs I also have a number of timers running though
none of these update the interface. I can't see where
these would affect the freeze, but I'm running out of ideas.
Apart from my VB code I have OpenNetCf' s serial library in use to write to
a bluetooth printer, though freezes have not occurred
during printing and I only create a serial port file when I start printing.
I also make use of nSoft's IPWorks FTP control. That is created
when the system is started but no FTP is going on when the freezes occur.
As the system has to be re-booted to clear the freeze I can't point to any
code involved. Is there any way that I can see where the program
is hanging when I get it back on an ActiveSync link?
Does anyone have any suggestions of things I should be checking or possible
causes?
Any help would be much appreciated.
Best regards
Andrew
WorkaboutPro running under CE4.2.Net and written in
Vb.net under CF 1.1.
The application is generally working well but is subject to occasional
freezes. It stops responding to key presses or clicks on
the touch screen. These occur, from user descriptions, in situations which
are regularly used without problems. I have extensive
Try/catch error trapping in place and no errors are being caught.
One common factor from the user descriptions is that the freezes occur when
I am hiding and showing panels to change the
interface. I know that the most likely cause of freezes is attempts to
update the interface from worker threads and I have been through
the code checking for these and making sure that Invoke was used if the
interface was updated. While I use separate threads
for individual background jobs I also have a number of timers running though
none of these update the interface. I can't see where
these would affect the freeze, but I'm running out of ideas.
Apart from my VB code I have OpenNetCf' s serial library in use to write to
a bluetooth printer, though freezes have not occurred
during printing and I only create a serial port file when I start printing.
I also make use of nSoft's IPWorks FTP control. That is created
when the system is started but no FTP is going on when the freezes occur.
As the system has to be re-booted to clear the freeze I can't point to any
code involved. Is there any way that I can see where the program
is hanging when I get it back on an ActiveSync link?
Does anyone have any suggestions of things I should be checking or possible
causes?
Any help would be much appreciated.
Best regards
Andrew