473,466 Members | 1,332 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Debugging code....

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.
Nov 20 '05 #1
9 1095
"Sam Marrocco" <sa*@twmi.rr.com> schrieb
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

Nov 20 '05 #2
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 Zingler wrote:
"Sam Marrocco" <sa*@twmi.rr.com> schrieb
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?


--
================================================== ================
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."
================================================== ================
Nov 20 '05 #3
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" <sa*@twmi.rr.com> a écrit dans le message de news:
2f*******************@fe2.columbus.rr.com...
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.

Nov 20 '05 #4
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 Zingler wrote:
"Sam Marrocco" <sa*@twmi.rr.com> schrieb
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?


--
================================================== ================
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."
================================================== ================
Nov 20 '05 #5
"Sam Marrocco" <sa*@twmi.rr.com> schrieb
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

Nov 20 '05 #6
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" <sa*@twmi.rr.com> a écrit dans le message de news:
2f*******************@fe2.columbus.rr.com...
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.

Nov 20 '05 #7
"Sam Marrocco" <sa*@twmi.rr.com> schrieb
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

Nov 20 '05 #8
THanks Pierre....I'll check out NProf.

Pierre Couzy wrote:
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" <sa*@twmi.rr.com> a écrit dans le message de news:
2f*******************@fe2.columbus.rr.com...
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 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."
================================================== ================
Nov 20 '05 #9
THanks Pierre....I'll check out NProf.

Pierre Couzy wrote:
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" <sa*@twmi.rr.com> a écrit dans le message de news:
2f*******************@fe2.columbus.rr.com...
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 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."
================================================== ================
Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Dmitri Shvetsov | last post by:
Hi All, Did somebody see the situation when the VS refuses to debug the Web Service at all? I can't catch why, the initially created Web Service can be debugged very easy but after some changes...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
8
by: razael1 | last post by:
I am putting debugging messages into my program by putting blocks that look like this: #ifdef DEBUG errlog << "Here is some information"; #endif All these #ifdef blocks make the code bulky and...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
5
by: rn5a | last post by:
Can someone please suggest me a text editor especially for DEBUGGING ASP scripts apart from Microsoft Visual Interdev? I tried using Visual Interdev & created a project but Interdev generates...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
33
by: fmassei | last post by:
Hello! I made a short piece of code that I find very useful for debugging, and I wanted to ask you if it is correct, somehow acceptable or if I simply reinvented the wheel. To deal with some bad...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.