views:

33

answers:

0

hi all,

I have a strange situation in my application. I have a service that needs to return some value from the DB. My service calls to some method in a singleton (by using the GetInstance method).

For the purpose of debugging i wrote logging messages in every method along with a view of the call stack.

While debugging i noticed something strange, i put a breakpoint on the line where the call to the GetInstance is being made. While in the breakpoint i see that the logging messages are being printed without the method being executed by me. Also the breakpoints inside all the methods along the way aren't stopped. The call stack shows that im coming from the same method that i'm in a breakpoint right now and...... from the same thread.

No one else is calling my service (its in debug on my machine) and no other process (of my client app) is calling it (the client is in breakpoint too).

any one got an idea??