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.

jian
  • 567

1 Answers1

2

That's what breakpoints are for.

A simple

break delay_execution_planner
continue

does what you need.

  • I have another newbie question. see my update. – jian Aug 20 '23 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. – Marcus Müller Aug 20 '23 at 10:42