Debug Faster. Debug Smarter; with Primoz Gabrijelcic - CodeRageXI

preview_player
Показать описание

We all have to debug programs and we never like it. This session will show you few tips & tricks that will help you debug your code in a faster and smarter way. This session will show how to use few less-known debugger features (groups, thread support, data breakpoints ...) and will also present few tips and trick (how to add a log ""form"" in two lines of code, when modifying code is preferable to setting a breakpoint with condition etc).

Primož Gabrijelčič is a long time Pascal and Delphi developer, MVP, speaker at Delphi conferences and writer of the The Delphi Geek blog. His professional career is focused mostly on high-availability data processing servers which resulted in a well-known open source parallelization library - OmniThreadLibrary. Recently he is spending his free time on the FastMM project where he focuses on improving memory manager performance in highly-parallel environment.

Рекомендации по теме
Комментарии
Автор

Definitively one of the best videos of Embarcadero Technologies channel.

stUniqueName
Автор

i've been programing in Delphi since Delphi 1.
i must admit, i never really bothered to look beyond F5, F7, F8 and some other really simple "tricks" for debugging...
that is one of the most useful videos on Delphi i have ever seen.
Thank you very much for sharing !

eitan
Автор

Great video, thanks a lot. I just noted down some timestamps of topics, for finding them quickly. Maybe also helpful for others:
1:10 Hotkey overview
2:00 Compiler settings
4:00 "Breakpoints"
7:00 Break on condition in code
8:45 Programmatically break into compiler
9:00 Passcount
10:30 Use passcount to determine nr of loops
11:50 Useful side effects
14:00 OutputDebugString
14:45 Log to console window
17:00 call fn from breakpoint to log to file
19:30 breakpoint groups
22:00 Multithreading progs
26:35 Exceptions
32:00 Hardware breakpoints
25:20 Tips and tricks
38:00 Move execution point

ralfiii