Sending it to RS may not be much help. If they can see where the crashes occur, then probably they can figure out the cause. But random crashes are, by definition, hard to predict. The first thing you should do is to make sure the application is compiled with the IncludeFunctionNames property of the App class checked. Then you may be able to get crash logs with useful information. You can also add code to your application that logs method entry and exit, and other information. The best way I've found to log method entry and exit is to write a simple MethodLogger class with the following methods.

Sub Constructor(className as String, methodName as String)
  me.ClassName = className
  me.MethodName = methodName
  LogMessage "Entering " + className + "." + methodName + "..."
End Sub

Sub Destructor()
  LogMessage "Exiting " + className + "." + methodName" + "."
End Sub

Private Sub LogMessage(msg as String)
  //code to write the message somewhere persistent
End Sub

To use it, add code like the following at the beginning of each method.

dim logger as new MethodLogger("Class1", "Foo")

When the method exists, the MethodLogger object is destroyed.

You can do a lot more with this trick, like logging when certain points in a method are reached, allowing you to pin down the location of the crash. Once you can isolate what's causing the crashes, then RS can help you.

Charles Yeomans

On May 18, 2006, at 3:51 AM, [EMAIL PROTECTED] wrote:

Thanks for your message Steve. I am sorry but I have grown a bit frustrated when nothing seemed to help and I kept getting random crashes, and posting
messages on both gettingstarted and new-users over the past week.

My application is about 10 mb, plus has about 15 attached graphic files, it also needs a license file in a settings folder to run - so an entire big package would have to be sent to Real. I don't mind trusting them with my project of three years but I don't want to make it public. What do you suggest? I don't see much value in creating a dummy app, and attempting to get it to crash the
same way - most likely it will work fine.

The crashes occur in certain cases, but they also appear somewhat random too
- occuring at different times and in response to different actions.

Greg

But if RS are being unhelpful, we should try to help you nonetheless.

What are the IDs of your feedback requests so I can download the =
details
and (hopefully) sample projects?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to