Strange case (MissingMethodException)

J

Javier Ros Moreno

Hi guys,
I´m getting an exception of type "MissingMethodException", when I call a
Method, the strage case is that this method is in the same class, I have put
a breakpoint in this call, I have added a watch and I have taken the follow
snapshot:

http://81.203.110.255/missingmethod.jpg

in this snapshot you can see the break point in calling to "Iniciar" method,
and you can see the "Iniciar" method implementation, "Iniciar" method is in
the same class, if you look the watch windows you can see the
MissingMethodException,
:blush: what´s up?

can you help me? any ideas?

If you see the snapshot the first instruction in "Iniciar" is
"MessageBox.Show("Código 8");", this message box doesn´t show.
Program stop in breakpoint, if I press F11 (Step Into) the exception shows
without enter in "Iniciar" method.

This is code in Form descendent class.
In addition this exception doesn´t show in Emulator, in emulator work fine
:blush:

Thanks in advance.

PD: I´m using VS.NET 2003 and my device is a HP iPaq Pocket PC 2003,
with Intel(R) PXA255 and 64MB.
 
I

Igor Zhavrid

I had the same problem.
To my mind the problem is that I had in my namespace a class with the same
method name. Though the methods were private, there was a problem. Bug was
vanished after I made all names of methods unique withing the namespace.

I hope to see competent explanation of this situation from more experienced
developers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top