- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have noticed that when my program crashes, for subscript out of range, for example, I dont get any symbolic information in that particular subroutine.
Also, there is no pointer to the source code where that occurs.
I do get a message in the output pane, though, saying where it occurred at least.
Is there a way around this ?
Otherwise I can debug with symbols as expected.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any chance you could post a reproducer? I would not expect that behavior.
thanks --
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When a subscript out of range is detected, it is (assumption) by way of a call to a "test for subscript out of bounds" routine, which then in turn performs an assert to display the message. It may be the case that the stack frame is down two levels to code that has no debug symbolic information. To get around this, open (or locate) the call stack window, and click on the stack level that contains the statement as mentioned in the error message. If there is no information there, then the debug information was either stripped out by the linker or the routine may have been inlined through optimization.
Jim Dempsey
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page