How to find function during debugging?
-
Hi All, I am debugging the program by adding the break point at some function.Suppose I want to find out which function is called when I perform particular actions. Is there any method to identify which function is called at particular event.Because I can not predict which function gets called so I can not add break point at that function.Can we add break point at all function in project by any short cut method of IDE. Please send me solution if anybody have. Thanks in Advance Atul Atul
-
Hi All, I am debugging the program by adding the break point at some function.Suppose I want to find out which function is called when I perform particular actions. Is there any method to identify which function is called at particular event.Because I can not predict which function gets called so I can not add break point at that function.Can we add break point at all function in project by any short cut method of IDE. Please send me solution if anybody have. Thanks in Advance Atul Atul
Set a breakpoint at the position where the function is called and then use the debugger command "step into".
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words -
Set a breakpoint at the position where the function is called and then use the debugger command "step into".
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words -
Hi jhwurmbach , The main problem is the I can not predict which function is called. So where should I add break point. Thanks in Advance Atul :(( Atul
Atulmahajan wrote:
The main problem is the I can not predict which function is called
:confused: Why so ?
Cédric Moonen Software developer
Charting control [v1.2] -
Hi All, I am debugging the program by adding the break point at some function.Suppose I want to find out which function is called when I perform particular actions. Is there any method to identify which function is called at particular event.Because I can not predict which function gets called so I can not add break point at that function.Can we add break point at all function in project by any short cut method of IDE. Please send me solution if anybody have. Thanks in Advance Atul Atul
-
Hi jhwurmbach , The main problem is the I can not predict which function is called. So where should I add break point. Thanks in Advance Atul :(( Atul
Atulmahajan wrote:
The main problem is the I can not predict which function is called. So where should I add break point.
Well, if you don't know your software !!! Read the code, put break points where you think they should be, if they don't trigger, put them somewhere else. You should know at least what your software do!
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Hi jhwurmbach , The main problem is the I can not predict which function is called. So where should I add break point. Thanks in Advance Atul :(( Atul
Atulmahajan wrote:
I can not predict which function is called
Why not? You have the statement where the decision occurs. There you put the breakpoint.
Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words -
Hi All, I am debugging the program by adding the break point at some function.Suppose I want to find out which function is called when I perform particular actions. Is there any method to identify which function is called at particular event.Because I can not predict which function gets called so I can not add break point at that function.Can we add break point at all function in project by any short cut method of IDE. Please send me solution if anybody have. Thanks in Advance Atul Atul
Is your application multithreaded ? Regards, Paresh.