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

Home » Public Forums » archive » Re: Rrun itools at breakpoint
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Rrun itools at breakpoint [message #68319] Wed, 21 October 2009 07:26 Go to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Bernhard Reinhardt <wirdseltengelesen@freisingnet.de> wrote:
> Hi,
>
> I'd like to inspect an array at a breakpoint. I've read somewhere that
>
> Itools are suited nicely for this since one can zoom in and it gives
> you
> the pixel-index where your mouse is pointing at.
>
> So when at the breakpoint I type "iplots" whereupon the iplot-window
> opens but then the window is kind of soft-frozen. One can choose from
> the Menu (very slow), for example the data-manager, but nothing
> happens.
> When I hit the stop-button in the debugging view Itools become usable
> again but then of course the array I'd like to inspect is gone.
>
> IDL> print, !version
> { x86 linux unix linux 7.1 Apr 21 2009 32 64}
>
> Am I doing things I'm not supposed to do, or is this just another
> itools
> bug?
>
> Regards,
>
> Bernhard

The events for a GUI aren't handled when stopped at a breakpoint. The
trick to get around this is to use the IDL_Bridge. Not in front of my
computer now, so I can't give details.

Mike
--
www.michael.com
Research Mathematician
Tech-X Corporation
Re: Rrun itools at breakpoint [message #68466 is a reply to message #68319] Wed, 21 October 2009 09:58 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Michael Galloy wrote:
> Bernhard Reinhardt <wirdseltengelesen@freisingnet.de> wrote:
>> Hi,
>>
>> I'd like to inspect an array at a breakpoint. I've read somewhere that
>>
>> Itools are suited nicely for this since one can zoom in and it gives
>> you
>> the pixel-index where your mouse is pointing at.
>>
>> So when at the breakpoint I type "iplots" whereupon the iplot-window
>> opens but then the window is kind of soft-frozen. One can choose from
>> the Menu (very slow), for example the data-manager, but nothing
>> happens.
>> When I hit the stop-button in the debugging view Itools become usable
>> again but then of course the array I'd like to inspect is gone.
>>
>> IDL> print, !version
>> { x86 linux unix linux 7.1 Apr 21 2009 32 64}
>>
>> Am I doing things I'm not supposed to do, or is this just another
>> itools
>> bug?
>>
>> Regards,
>>
>> Bernhard
>
> The events for a GUI aren't handled when stopped at a breakpoint. The
> trick to get around this is to use the IDL_Bridge. Not in front of my
> computer now, so I can't give details.

This is the workaround I meant:

IDL> mg_test_debug
% Compiled module: MG_TEST_DEBUG.
% Compiled module: DIST.
% Stop encountered: MG_TEST_DEBUG 6
/Users/mgalloy/Desktop/mg_test_debug.pro
IDL> idl = obj_new('IDL_IDLBridge')
% Loaded DLM: IDL_IDLBRIDGE.
IDL> idl->setvar, 'd', d
IDL> idl->execute, 'iimage, d'

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: need help reading binary FORTRAN data
Next Topic: Rrun itools at breakpoint

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

Current Time: Wed Oct 08 19:34:10 PDT 2025

Total time taken to generate the page: 0.00561 seconds