Tag Archives: IOTADebuggerServices

Notify me of everything… – Part 1

By | November 7, 2016

Overview I was going to blog about Unit Testing non-public members of classes using inheritance, class helpers and test interfaces but the more I refactored my piece of legacy code into smaller classes and interfaces the less valid my methods seemed to become. I may still write something about this but for now here's something… Read More »

The Delphi Open Tools API Book

By | March 21, 2016

Its here 🙂 The Delphi Open Tools API Book

Chapter 4.1 – The Fix

By | February 11, 2010

For those interested, here's the fix to the Chapter 4's code. procedure TKeyboardBinding.AddBreakpoint(const Context: IOTAKeyContext; KeyCode: TShortcut; var BindingResult: TKeyBindingResult); var i: Integer; DS : IOTADebuggerServices; MS : IOTAModuleServices; strFileName : String; Source : IOTASourceEditor; CP: TOTAEditPos; BP: IOTABreakpoint; begin MS := BorlandIDEServices As IOTAModuleServices; Source := SourceEditor(MS.CurrentModule); strFileName := Source.FileName; CP := Source.EditViews[0].CursorPos; DS… Read More »

Chapter 4: Key Bindings and Debugging Tools

By | February 10, 2010

In this chapter I’ll solve a problem I’ve found with all the Borland/CodeGear IDE’s I've used. I like to use just the keyboard where possible rather than grab the mouse. With the keyboard (and I use the IDE Classic keyboard binding) you can create a breakpoint with Ctrl+F8 but you can not edit its properties.… Read More »