Lasse Vågsæther Karlsen <la***@vkarlsen.nowrote in message
news:e$**************@TK2MSFTNGP06.phx.gbl...
shawn wrote:
A Windows service A which starts multiple instances of an application B
at
random time.
Both A and B are written in C#.
It quite often shows in Task Manager that CPU time for B is 00:00:00 and
memory usage stay the same and never changes.
Can we assume that B is stuck based on this observation? Also, debug
code at
the very beginning of B is never run through...
What could be the cause of the problem of B being stuck and how to debug
it?
Thanks in advance!
Just as a hunch, could the program be attempting to display a message box?
If it's started by a service, it will most likely run under a different
user context than the logged on interactive user, so message boxes might
not be displayed.
Thanks, Lasse!
First, Application B is a console one. Of course, it could cause some
Windows error/warning messagebox popped up.
Second, most instances of B running and shutting down themselves fine while
one or two of B hanging there.
"a different user context than the logged on interactive user"
I'm not sure what's this and how to check on it...Could you elaborate this?