StackOverFlowException in windows forms dll

  • Thread starter Thread starter darek
  • Start date Start date
D

darek

Hello.

I have encontered a strage problem, while displaying one of my forms
I get stack overflow exception. The strage thing is that
when the excpetion is thrown stack reported by VS looks like this:

7.[<Non-user Code>]
6.ModOrder.dll!Pl.MCore.Ppc.Mobile.Vender.Mod.ModOrder.ModOrder.Enter(string
transition = "NEW_ORDER")
5.[<Non-user Code>]
4.App.exe!Pl.MCore.Ppc.Mobile.Vender.App.VAppMain.EnterModule(string
moduleName = "ModRoute")
3.App.exe!Pl.MCore.Ppc.Mobile.Vender.App.VAppModulesView.ButtonClick(System.Object
sender = {Pl.MCore.Ppc.Mobile.Vender.App.VAppImageButton},
System.EventArgs e = {System.EventArgs})
2.[<Non-user Code>]
1.App.exe!Pl.MCore.Ppc.Mobile.Vender.App.VAppMainForm.Main()

No too large I guess.

I have never encountered anything like this before. I would be grateful
if someone could give some tips on what to focus while debugging,
because at this moment I see no sulution but commenting out random
parts of the code.

Thanks.
 
Sorry, problem fixed. I usually it turned out to be trivial.

I have "overriden" ShowDialog metod,
in my own ShowDialog I wanted to call ShowDialog of base
class but insted of writing: base.ShowDialog() I wrote: ShowDialog()
which called my own method again and again.
 
Back
Top