Search code examples
delphidebuggingdelphi-2010breakpointsjvcl

How to set breakpoint in Delphi JVCL units?


I'm debugging a Delphi code that use TJvProgramVersionCheck component from the excellent JVCL libs.

So I'd like to put a breakpoint somewhere in JvProgramVersionCheck unit but it doesn't work. The breakpoint icon show a cross - not active !

I tried to put a breakpoint when calling the TJvProgramVersionCheck method, do a debug "Step into" and of course, it doesn't break !

Back to the JVCL installation, I re-installed with 'Compile debug units' option ON, added debug DCU's inside Debug LIB path ... but still don't work.

Any idea ?


Solution

  • Add the JVCL source path to the project's debug source path (Project Options | Debugger | Source Path)