Re: "Unexpected error" strangeness...(ipaq vb.net)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 01/04/05


Date: Tue, 4 Jan 2005 21:09:16 -0000


> Finally, ensure you're using try/catches, and get the Exception.Message
> and Exception.StackTrace to help narrow down the bugs.

Just to be clear, Exception.StackTrace is not supported on CF 1.0

Cheers
Daniel

--
http://www.danielmoth.com/Blog/
"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message 
news:eK6GvV17EHA.3840@tk2msftngp13.phx.gbl...
> Is there any way you can get a PDA, and connect it to your development 
> box?
> You'd be able to debug and step through your application to find out more 
> details of what's going wrong.
>
> If not, distribute a debug build, and saturate the source with debug 
> logging comments which log details of stages to disk, and allow you then 
> to track where the application got to, where it didn't and what errors are 
> coming up.
>
> Finally, ensure you're using try/catches, and get the Exception.Message 
> and Exception.StackTrace to help narrow down the bugs.
>
> Good luck!
>
>
> "I HATE PDAs" <I HATE PDAs@discussions.microsoft.com> wrote in message 
> news:6DF4A1AF-BE8C-4E69-BB6B-416D323B3DA3@microsoft.com...
>> I've written an app that contacts a web server in order to log in, grab 
>> and
>> display info based on serial numbers entered, and add the info to a 
>> "cart" of
>> sorts on the web server.  It's in vb.net, and uses InputBox(...) for the
>> login form (which is shown in the main form's Load event handler) and
>> HttpWebRequest objects to communicate with the server.
>>
>> The app ran fine in the emulator that comes with vs.net 2003, so i made 
>> an
>> msi of it and shared it for testing.  The installer appeared to work fine 
>> as
>> well, but upon running the program we see all sorts of strangeness...
>>
>> * The input panel doesn't appear on the menu bar for the login form (a 
>> modal
>> dialog a la InputBox).
>> * MSN Messenger is the active form when the login form is closed. 
>> Messenger
>> was not running when the app started.
>> * The tester has a keyboard installed, and managed to fill in the login
>> form.  Once he hit "ok", the main form popped up....but immediately, a
>> message about an "unexpected error" appeared--IN THE INFO TEXTBOX.  No
>> dialog, no "details" button, none of that.  The error appeared, the main 
>> form
>> stayed for another half second or so, and then the app died.
>> * All this happens every time the app runs.  I'd probably see more
>> strangeness if i could keep it running.  :P
>>
>> The testing PDA is an iPaq 5450 (PPC 2002, windows v3.0.11171 [build 
>> 11178])
>> with .net CF v1.0 SP2.  The emulator appears to be running .net v1.0, but 
>> the
>> windows version number is identical to the PDA's.  Both machines have 
>> plenty
>> of memory left.
>
> 


Relevant Pages

  • Re: "Unexpected error" strangeness...(ipaq vb.net)
    ... > "Daniel Moth" wrote in message ... I've written an app that contacts a web server in order to log in, ... * The input panel doesn't appear on the menu bar for the login form (a ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Suggestions for text search and replace tool
    ... It's got bugs. ... it takes the app 30 seconds at about 100% of one 2.5GHz CPU to do ... The Classic app I'm currently using does the search and replace job with ... MassReplaceIt isn't really ready for the prime time yet, ...
    (uk.comp.sys.mac)
  • Re: "Unexpected error" strangeness...(ipaq vb.net)
    ... The emulator is a wholly unsuitable target for testing a real application - ... > I've written an app that contacts a web server in order to log in, ... > * The input panel doesn't appear on the menu bar for the login form (a ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: The reliability of python threads
    ... not just the database app). ... not much anybody can say about your programs or the reliability of ... new ways to track bugs down. ...
    (comp.lang.python)
  • Re: "Unexpected error" strangeness...(ipaq vb.net)
    ... If not, distribute a debug build, and saturate the source with debug logging ... > I've written an app that contacts a web server in order to log in, ... > * MSN Messenger is the active form when the login form is closed. ...
    (microsoft.public.dotnet.framework.compactframework)