Debugging overload [message #88603] |
Fri, 16 May 2014 08:20  |
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
|
|
|