开发者

How to set breakpoint in Delphi JVCL units?

开发者 https://www.devze.com 2023-01-05 04:02 出处:网络
I\'m debugging a Delphi code that use TJvProgramVersionCheck component from the excel开发者_开发问答lent JVCL libs.

I'm debugging a Delphi code that use TJvProgramVersionCheck component from the excel开发者_开发问答lent 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 ?


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号