Great!

Thanks for the tip, Jack! The exception was actually firing before my breakpoint in either the Open event or the constructor. So, I ended up putting an exception block in the method calling the Show method (duh!) and voila! I was able to look at the call trace that generated the exception and...

It seems that when I converted my application from a monolithic file format to the new version control format, that my control bindings for that window became *VERY* confused. Since those binding definitions are in an encrypted module (pgSQL4RB), the debugger wasn't going to show them to me. Oh, well. Back to the monolithic file format.

Mark

On Jan 15, 2007, at 10:52 PM, CV wrote:

If you are opening the window with, say Window1.Show where this is the first use of the name Window1 then set a break point at the start of the Open event. If the window is already open then set a break point in Activate.

Best,

Jack


On Jan 15, 2007, at 5:05 PM, Mark Lubratt wrote:

Hello!

I'm getting an IllegalCastException when calling a window's Show method. The debugger highlights the invocation of the show and is not showing me the statement causing the exception even though I have "Break on Exceptions" turned on. I've tried stepping into the Show method to no avail. I've placed a break statement in the App.UnHandledException event hoping to be able to look at the RunTimeException.Stack (include function names is on); but, that event never gets called.

Can anyone offer pointers on how to track this down?

Thanks!
Mark

RB2007r1 WinXP Home


_______________________________________________
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>


_______________________________________________
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