0

https://git.postgresql.org/cgit/postgresql.git/tree/src/test/modules/delay_execution/delay_execution.c
https://stackoverflow.com/questions/11967440/stepping-into-specific-function-in-gdb

I loaded the module delay_execution.
then gdb -p $proc
quite new to gdb. can I let gdb execute directly up to the beginning of delay_execution_planner? there are many steps, press step by step seems not so good.

1
  • Rolled back the edit that added a new, separate question. Please don't ask new questions in an edit to an answered question, but open up a new question post. Aug 20, 2023 at 10:43

1 Answer 1

2

That's what breakpoints are for.

A simple

break delay_execution_planner
continue

does what you need.

2
  • I have another newbie question. see my update.
    – jian
    Aug 20, 2023 at 10:36
  • I rolled back your edit. Please don't ask new questions in an answered question post!! Ask a new question in a new post.. But beware that what you want is expensive, because there's probably a very large factor more function calls than you realize there are. Aug 20, 2023 at 10:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .