Re: How do I open an nonmodal owned form over a mdi container ?

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



<pamelafluente@xxxxxxxxx> schrieb

Hi Armin.... thank you for your help. That solution I have
abandoned some time ago, because I noticed that, if I do that - when
there is an error in the program - the debugger is NO MORE able to
go to the line where the error is (it merely says the file and line
where occurred), which is very very annoying.

Hmmm...

Actually, I do not understand why my way does not work. That's
really strange, because if the Me.ShowForm2_NonModal() is called
AFTER loading everything is fine. This doesn't make much sense to
me.

It was never allowed to show a non-modal Form after a modal Form is
displayed.

Also, I do not understand why if I use the method You suggest, the
debugger is no more able to go to an error line, when an error
occurs. I can vaguely imagine the reason, infact the same happen
when an error occurs, for instance, on a timer event or on a Drag
Drop: so must be related to the fact that it is within a thread
different from the main one. Can you fix this behavour ???

All this is very very annoying...


This is indeed a (different) problem. I currently don't know how to solve
it.

I know the problem with the exception in a Timer's Tick event handler: The exception is not caught but the "JIT debugger" message occurs. This is a bug fixed in version 2005. Hopefully it will also be fixed in the next VS 2003 SP.


Armin

.



Relevant Pages

  • Re: You wanted defensive writing...
    ... Couldn't you have set the debugger to break on all exceptions? ... > I've created an application that loads Caudill's TreeListView as its ... > I commented the line that called the insertion on start-up, ... > The exception caught me unaware, ...
    (microsoft.public.dotnet.csharp.general)
  • Re: You wanted defensive writing...
    ... Couldn't you have set the debugger to break on all exceptions? ... > I've created an application that loads Caudill's TreeListView as its ... > I commented the line that called the insertion on start-up, ... > The exception caught me unaware, ...
    (microsoft.public.dotnet.general)
  • Re: Problem with KITL?
    ... > Enable kernel debugger ... This OK if KdStub stumbling on its own BP. ... Exception in debugger, Addr=0x801AB864 - attempting to recover ...
    (microsoft.public.windowsce.platbuilder)
  • Re: .net 2005 cannot show menu !
    ... "Agnes" schrieb: ... however, after complie under 2005, Same program runs, the main menu didn't show. ... I use debugger to check, the process is hold during "frmMain.showdialog" and then done nothing. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Debug Step into another form
    ... "Sergio Cifuentes" schrieb ... the debug cursor doesn't navigate to that form, ... The debugger can only stop at executable lines. ...
    (microsoft.public.dotnet.languages.vb)