comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Debugging overload
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Debugging overload [message #88603] Fri, 16 May 2014 08:20 Go to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi again,

I'll continue my whishlist with something more important. Consider the
following program I'd like to debug:

pro debugging_overload

h = hash('key', INDGEN(10))

a = mean(h['key']) ; Put a breakpoint here

end

With the breakpoint, the program stops and I usually tip F5 (shortcut
for "step-into" in the debugger). Due to the operator overloading, the
"step into" is now requiring 31 (!) clicks:

IDL> debugging_overload
% Breakpoint at: DEBUGGING_OVERLOAD 5
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::GET
% Stepped to: HASH::_OVERLOADBRACKETSRIGHTSIDE
% Stepped to: MEAN 55
/usr/local/idlenvi/idlenvi83/idl83/lib/mean.pro

Anyone else having this issue?

Cheers,

Fabien
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Common block conumdrum
Next Topic: Coyote NCDF_FILE object to read HDF

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:33:43 PDT 2025

Total time taken to generate the page: 0.00565 seconds