Debugging code....

  • Thread starter Thread starter Sam Marrocco
  • Start date Start date
S

Sam Marrocco

I have an app which has intermittent pauses--menus stop working,
etc--for a second or two at a time. Short of purchasing a profiler
(expensive) is there a way of viewing which method/function my code is
in at any given time *live* while it is running? I realize this might be
a little slower yet, and I don't want to have to embed anything into the
heads and tails of every function.
 
Sam Marrocco said:
I have an app which has intermittent pauses--menus stop working,
etc--for a second or two at a time. Short of purchasing a profiler
(expensive) is there a way of viewing which method/function my code
is
in at any given time *live* while it is running? I realize this might
be a little slower yet, and I don't want to have to embed anything
into the heads and tails of every function.

Isn't it possible to go into break mode and have a look at the current
location?


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Yes, but that would require me hitting "break" at the exact moment of
the pauses--something I've been unable to nail exactly. Hence, my need
to see where the app is "live".

Plus, I would imagine the benefits of seeing procedures being entered
and exited in "real-time" would be quite interesting.

Armin said:
Isn't it possible to go into break mode and have a look at the current
location?

--
==================================================================
Sam J. Marrocco
Sr. Visual Effects Artist/R&D
Travelling Pictures/GTN
Inferno, Flame, Maya, All that cool stuff!
"The fact that no one understands you doesn't make you an artist."
==================================================================
 
Hello Sam,

Why not use a free profiler ?
You should try NProf (http://sourceforge.net/projects/nprof/), it allow you
to run your program while it monitors every system or applicative call, and
then shows you a fancy grid with every relevant information.
It won't give you the info LIVE, but you should be able to run only the
faulty portions and work it out.

Hope this helps,

Pierre Couzy
Microsoft Regional Director - France
www.winwise.fr
 
Sam Marrocco said:
Yes, but that would require me hitting "break" at the exact moment of
the pauses--something I've been unable to nail exactly. Hence, my
need
to see where the app is "live".

Ah, ok, I thought 1-2 seconds is long enough.
Plus, I would imagine the benefits of seeing procedures being entered
and exited in "real-time" would be quite interesting.

Yep

I'm afraid, I don't know what to do in this case.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
THanks Pierre....I'll check out NProf.

Pierre said:
Hello Sam,

Why not use a free profiler ?
You should try NProf (http://sourceforge.net/projects/nprof/), it allow you
to run your program while it monitors every system or applicative call, and
then shows you a fancy grid with every relevant information.
It won't give you the info LIVE, but you should be able to run only the
faulty portions and work it out.

Hope this helps,

Pierre Couzy
Microsoft Regional Director - France
www.winwise.fr

--
==================================================================
Sam J. Marrocco
Sr. Visual Effects Artist/R&D
Travelling Pictures/GTN
Inferno, Flame, Maya, All that cool stuff!
"The fact that no one understands you doesn't make you an artist."
==================================================================
 
Back
Top