vscode-perl-debug icon indicating copy to clipboard operation
vscode-perl-debug copied to clipboard

Debug very SLOOOOOW

Open Merange opened this issue 6 years ago • 6 comments

Hi,

I'm new in Perl and I want to use Exiftool library.

I write a small program, less than 200 lines, and when I try to debug my program, I must wait dozen of second after each step. When I remove a brakpoint, it is always active.

What happens ?

Merange avatar Jan 13 '19 07:01 Merange

What Version of OS/perl distribution/padwalker?

raix avatar Jan 14 '19 07:01 raix

I use Windows 10 version 10.0.17763.253, and my perl distribution is provided by ActiveState

I don't know what is padwalker.

Merange avatar Jan 14 '19 12:01 Merange

Padwalker is a module required to create scope inspection (more details found in the documentation)

raix avatar Jan 14 '19 16:01 raix

Padwalker is installed, except it is in site area not in the perl area I suppose if it was not installed, I can't debug at all.

Merange avatar Jan 14 '19 18:01 Merange

I think about an explanation of this problem.

isn't it possible to very long because the ExifTool object is complex, and if you try to get all the fields of this object, it takes a large amount of time.

So is it possible to limit the access to the object only at the root level and to get the children only when I try to get them ?

Merange avatar Jan 18 '19 20:01 Merange

It’s a good point - as I remeber it’s vs code debug interface triggering the request in the extension. (I’ll have to investigate)

raix avatar Jan 19 '19 18:01 raix