This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | debbuger skipped through individual statements in function | ||
---|---|---|---|
Product: | python | Reporter: | Peter Lam <petersl> |
Component: | Debugger | Assignee: | jymen <jymen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
the fix will be part of the multithreaded support extension which is in progress and planed for after the 65ea since the multithreading support is a big change in the debugger backend code , I do not want to take the risk of having regressions in the python65ea. Fixed in 7.0 trunk build #545 and above |
build 81 (20081021) - from the following python code, set a break point the last line "main()" - debug the file - step into main() - after entering the number list as an input, eg, [2, 3, 5], and press Enter, the debug session skipped over the rest of the statements in the main() function and ended the debug session. Output below. >>>[stdout:]Type in a list of numbers with brackets like [1, 2, 3]:>>>[2, 3] [stdout:]Square list:[stdout:] [stdout:][4, 9] [stdout:]Original list: [stdout:] [stdout:][2, 3] '+++ JPy/sessionended/ deamon ended Debug session normal end def squareList(numlist): """ Returns the squares of an input list """ squarelist = [] for num in range(len(numlist)): squarelist.append(numlist[num] ** 2) return squarelist def main(): numlist = input("Type in a list of numbers with brackets like [1, 2, 3]:") print "Square list:", squareList(numlist) print "Original list: ", numlist main()