delphi - Automate the insertion of breakpoints? -


is possible automate insertion of breakpoints? example, need insert specific (the same) conditional breakpoint @ beginning , exit of every procedure inside specific unit. manually tedious , time-consuming, looking automated way this.

no. there's no functionality in ide so.

based on comment original question, you're trying detect global ("public") variable being changed. way set data breakpoint, tripped when variable changed, , view callstack see code executing last. (you can find in file searching on "breakpoints, setting data breakpoints" in index delphi 2007, or "breakpoint properties, data breakpoint" in xe4's (linked above).

note both ask address watch, work @variablename well. (using stack (local) variable triggers dialog tells doing can make app unstable , asking confirm want so.)

as @davidheffernan points out in comment, better solution make public field property setter, , set normal breakpoint inside setter.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -