IDL Workbench Ignoring Breakpoints [message #60064] |
Thu, 24 April 2008 13:44  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
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.")
|
|
|
Re: IDL Workbench Ignoring Breakpoints [message #60114 is a reply to message #60064] |
Wed, 30 April 2008 11:15  |
Jean-Paul Davis
Messages: 17 Registered: March 1998
|
Junior Member |
|
|
I wonder if this is related to a bug I've reported where, if you use
the Run Project command (with Project Properties -> Run Command set to
the desired source file), breakpoints work but cause strange errors
such as the following:
% Breakpoint at: V7TEST 13
% CD: String expression required in this context:
_IDLDT$_RUN$_CURRENT_DIR.
% Execution halted at: V7TEST 13
% $MAIN$
% Identifiers can only be added or deleted at the main level:
_IDLDT$_RUN$_CURRENT_DIR.
% Execution halted at: V7TEST 13
% $MAIN$
They work fine (without error) as long as I don't use Run Project,
instead ensuring that my main source file is in the top editor tab and
using Run <filename>. A minor annoyance since I usually don't even
need the top-level source file open while I'm working on the code.
The bug is CR 50591 in ITT's system, and a fix is expected for version
7.1 in early 2009. Maybe it's not related, but I thought it useful to
put this information out there for others looking up breakpoint
problems.
Jean-Paul
|
|
|