PC Review


Reply
Thread Tools Rate Thread

How to debug application?

 
 
Rv0
Guest
Posts: n/a
 
      30th Mar 2005
I have written a VB.Net (v69586...) application which is targetted for
Windows 2000 SP4 clients running dotNet framework V1.0.03705 and 1.1.

This application works fine on about 50% of the 100 clients and shows an
error dialog on the other machines. The shown error message is rather
cryptic though:
"Application has generated an exception that could not be handled Process id
=0x69c (1692), thread id=0x1e4 (484).

Click OK to terminate the application
Click CANCEL to debug the application" --> Leads to nothing because there is
no debugging environment.

How can I get a clear view on what's going on here?


 
Reply With Quote
 
 
 
 
Crouchie1998
Guest
Posts: n/a
 
      30th Mar 2005
When you find out what function/sub the error occured in then you can then
put it in a try - catch - end try block

Example:

Try
....

Catch ex As Exception

MessageBox.Show(ex.ToString)

End Try

The message box will show the full error & you will be able to do something
about it from there.

It could be something as simple as a FileIOException because the file is
already open etc. Other problems could be security permissions etc. You
won't know until you do the above

Also, when you build the exe... make sure it is built in DEBUG to maximize
the chances of trapping the error for you to then handle and rebuild it as
the RELEASE version.

I hope the above has given you a few ideas


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug a CF application on a PC tjo@agramkow.com Microsoft Dot NET Compact Framework 4 14th Mar 2008 03:01 PM
Cant Debug my application =?Utf-8?B?QWRuYW4=?= Microsoft Dot NET Compact Framework 2 10th May 2005 09:02 AM
Can't debug my ASP .NET web application Jose Luis Microsoft ASP .NET 1 12th Jan 2005 10:28 AM
Can`t debug asp.net application Serg Microsoft ASP .NET 4 25th Nov 2004 08:07 AM
debug for application on XPe guidi fabio Windows XP Embedded 0 17th Jul 2003 08:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 PM.