views:

82

answers:

2

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 ?

+1  A: 

You must add JVCL and JCL *.PAS units (not the DCU's) to the library paths.

Linas
It's not working for me.
TridenT
+1  A: 

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

mjustin
and if i remember well, you must set the projects options at Compiler tab to use debugging DCUbest regards,Radu
Radu Barbu
It works with the "use debugging DCU" option enabled. Ouch ! Thank you, I can now debug at will !
TridenT
and the points are going to mjustin :))) i don't care :) glad that i could help!best regards,
Radu Barbu