Re: Debuging A MFC project Highily multithreaded and Realtime



Hi Joe

Thanks for comment. let me tell ya abt scenario in my project. Here
each thread represent an object (Trading symbol) montioring activity of
market realtime. These are hyper active entities any delay due to
queuing or any subclassificatiuon in threads may disrupt the buisness
logice. Hence bunching them will degrade buisness logic implementation
and my users performance expectation.

Pankaj

Joseph M. Newcomer wrote:
Use a tiny fraction of those threads. I can't imagine a problem that could use 500
threads.

Of course, if you wanted to report something meaningful, you would probably specify what
the crash was, instead of the vague and meaningless term "crash". Without that critical
knowledge, it is impossible to guess what has happened.

Note that if you have compute bound threads, you can't effectively use more threads than
you have CPUs. In fact, your performance goes DOWN if you use more threads.

Consider changing the architecture. But in the future, if you want to report a problem,
report what actually happens! Nothing is more meaningless than the word "crash" as the
complete and total description of a failure.

I suggest downloading WinDbg from the Microsoft site, installing it, and using !analyze -v
to analyze the crash dump and tell us what it says.
joe

On 27 Sep 2006 13:19:30 -0700, "Panks" <pankajiq@xxxxxxxxxxx> wrote:

HI Guys

I need some help with debugging a multithreaded application. It has
currentily 500 Concurrent threads running. When i try debugging in VC++
IDE with all threads my system crashes. I am new to multithreading. Can
some one give me idea how to develop a debugger module or any built in
tool to debug my application.


Thanks
Pankaj
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

.



Relevant Pages

  • Re: Debuging A MFC project Highily multithreaded and Realtime
    ... Of course, if you wanted to report something meaningful, you would probably specify what ... the crash was, instead of the vague and meaningless term "crash". ... I need some help with debugging a multithreaded application. ...
    (microsoft.public.vc.mfc)
  • Re: Word wont let me cheat the printer anymore
    ... customer do their debugging for them (would you like to report this crash to ...
    (microsoft.public.word.pagelayout)
  • Re: Sad news on Jim Chamblee
    ... >>| Report Abuse ... >>who refused to be named in this story, Florida Congresswoman Katherine ... >>Toronto Islands are located on Lake Ontario, ... >>at the accident scene shortly after the crash. ...
    (soc.retirement)
  • Re: Memory corruption and Dump Stack trace
    ... create a dump file. ... you can use JIT debugging to invoke the debugger ... crashes very randomly and thus hard to reproduce the crash. ...
    (microsoft.public.vc.mfc)
  • [opensuse] kpowersave krashing on 10.2 and comments
    ... First problem #1: ... the crash handler reports that kpowersave ... moving kpowersave, linking it as /bin/true, but all for naught. ... for another user and having to see this crash report upon every ...
    (SuSE)