DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug Include Script - jump into last line - not to Breakpoint

i have a script include to an other one.

when i set a breakpoint into the included script an run my diadem

the debugger will make a break but don´t show me the line where i set the breakpoint.

the debugger jumps in to the last line of the included script.

 

in the normal script (from where i call the include file) the breakpoint work as i aspect.

 

i know the problem with the debugger if you close a function (it is showed only with one line) , than it do the same.

 

i have expaned all functions - and 2 weeks ago the system works without no problems.

the only thing what is new, i changed my laptop.

the MS Debuger Function ist installed.

 

 

would be great to get help

thanks

maik

0 Kudos
Message 1 of 6
(5,693 Views)

Hi MaikThierer,


        when I set a breakpoint in a function of a subscript and call this function from a caller script the debugger jumps to the set breakpoint. If you close the function the debugger only jumps to the function.
        I can't reproduce your discribed behaviour.

        Regards,

 

Philipp K.
AE | NI-Germany

0 Kudos
Message 2 of 6
(5,496 Views)

i think i found the reason.

the diadem debugger used a pdm.dll with the version 6.0.0.8424

and this version was still used after the installtion of the ms debugger.

i copied the dll version 9.0.30729.1 into the path where diadem linked to, now it works

0 Kudos
Message 3 of 6
(5,493 Views)

Hi Maik,

 

I have the same problem. So i look for pdm.dll at my computer and i found some files with this name.

In which path do you exchange the file?

 

kind regards

  Uwe

0 Kudos
Message 4 of 6
(5,490 Views)

You can check the path

on my german version it is

 

Diadem Menüleiste -> Hilfe -> Info über... -> Script Engine

in english maybe (Diadem Menue -> Help -> Info About.... -> Script Engine)

 

here you can find the Debugger infomation

 

2014-09-29_100541.jpg

 

0 Kudos
Message 5 of 6
(5,487 Views)
I had the same problem with the script when it call a subroutine in other file. I changed the pdm.dll for newer version and my debugger stoped to work (yes, I didnt debug anything!!). So, I installed the Visual Studio and now it works very well!!
Anderson M. Takemoto
Instituto de Pesquisas Eldorado

0 Kudos
Message 6 of 6
(4,677 Views)