Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: IDL Workben...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 5674 of 5734
Post > Topic >>

Re: IDL Workbench Ignoring Breakpoints

by peter.n.kupferman@[EMAIL PROTECTED] Apr 24, 2008 at 02:42 PM

On Apr 24, 5:15=A0pm, Vince Hradil <hrad...@[EMAIL PROTECTED]
> wrote:
> On Apr 24, 3:44 pm, David Fanning <n...@[EMAIL PROTECTED]
> wrote:
>
>
>
>
>
> > Folks,
>
> > Has anyone noticed the IDL Workbench ignoring breakpoints?
> > I have this happening to me right this minute on a UNIX
> > machine running IDL 7.0.1. I have a breakpoint in the file
> > at line 172. I confirm this both in the edit window (where
> > the blue dot shows in the channel on the left) and in the
> > Breakpoint view. I save the file. I compile the file. I
> > run the file. It crashes on line 173 after passing through
> > the breakpoint without stopping!
>
> > I've noticed this before, but usually I can get the breakpoint
> > to "take" by unsetting it and setting it again. I've been trying
> > to get this damn file to stop for 10 minutes now. Aaauuughhh!
>
> > Any ideas how I might have gotten into this state?
>
> > Cheers,
>
> > David
>
> > P.S. A "STOP" works. Sigh...
>
> > --
> > David Fanning, Ph.D.
> > Fanning Software Consulting, Inc.
> > Coyote's Guide to IDL Programming (www.dfanning.com)
> > Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> Yes - I've noticed this. =A0One time it was because IDL was compiling
> and using a different file (same name) than the one I had open in the
> editor. =A0That darn PATH thing...- Hide quoted text -
>
> - Show quoted text -

I have experienced the identical problem. ITTVIS tech support reported
it as a bug, but said it may be hard to fix.
Here is the test code and comments they sent me. Sometimes the
breakpoints do work and sometimes the code will even ignore a coded
stop.

=46rom ITTVIS:
I was wondering if  when you set the breakpoints there is already a
widget running, is that your case?.

We have found the following that could be relevant to your case, let
me know if you can reproduce this example and if this has something to
do with the way you are setting up your breakpoints:

1)Launch the Workbench
2)Create a program with the following contents:

pro test_modal_event,ev
help,ev
print,'set breakpoint after widget is running'
end

pro test_modal
wBase=3Dwidget_base(/row)
wButton=3Dwidget_button(wBase)
widget_control,wBase,/realize
xmanager,'test_modal',wBase ;,/no_block
end

3)Save, compile, and run
4)A widget with a button appears (notice that IDL command line is
greyed out)
5)Click the button
6)Receive a print out stating set breakpoint after widget is running
7)Keep the widget up, but go to the editor and set a breakpoint on the
following line:
print,'set breakpoint after widget is running'
8)Click on the button, and expect IDL to stop at the breakpoint, but
it doesn't




 6 Posts in Topic:
IDL Workbench Ignoring Breakpoints
David Fanning <news@[E  2008-04-24 14:44:02 
Re: IDL Workbench Ignoring Breakpoints
Vince Hradil <hradilv@  2008-04-24 14:15:09 
Re: IDL Workbench Ignoring Breakpoints
peter.n.kupferman@[EMAIL   2008-04-24 14:42:45 
Re: IDL Workbench Ignoring Breakpoints
David Fanning <news@[E  2008-04-24 16:16:04 
Re: IDL Workbench Ignoring Breakpoints
peter.n.kupferman@[EMAIL   2008-04-24 15:34:50 
Re: IDL Workbench Ignoring Breakpoints
Jean-Paul Davis <jpdav  2008-04-30 11:15:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 1:23:43 CDT 2008.