Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to view the call stack in the delphi 7 debugger?

From what I can see there's no menu options to view a call-stack like I'm used to seeing in debuggers for other languages. Is this a feature that simply didn't exist in this (old) version of Delphi? Is there another way I can search for references or detect what other code within the project uses a particular function if viewing a call-stack in the debugger isn't possible?

like image 520
Jessica Brown Avatar asked Jan 01 '12 20:01

Jessica Brown


People also ask

How can I see my call stack?

View the call stack while in the debugger While debugging, in the Debug menu, select Windows > Call Stack or press ctrl + alt + C . A yellow arrow identifies the stack frame where the execution pointer is currently located.

What is call stack in debugging?

The call stack is a list of all the active functions that have been called to get to the current point of execution. The call stack includes an entry for each function called, as well as which line of code will be returned to when the function returns.

How do I debug Delphi code?

Debugging delphi source files You need to go to "project->options->compiler" on this tab you need to check the "use debug DCUs". After that you need to build your project again and you can run your application. From now on breakpoints also stop in Delphi source files.

What is call stack in Visual Studio code?

Call stack is very useful when Inspecting the program state. You can see the function calls that are currently on the stack, change the context in which you are debugging to another stack frame on the call stack and inspect the program state in the different frames.


1 Answers

If it's Delphi 7, start debugging your application and then use the View/Debug Windows/Call stack menu.

like image 148
Dan Avatar answered Nov 09 '22 22:11

Dan