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.
Build 550 Product Version: NetBeans IDE Dev (Build 20090108201903) Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Userdir: /home/tester/.netbeans/dev-b550 - create the "Multi-threading in Python" sample project - open the PyThreads.py source - put a break point on line 82 (for statement) - step over to line 87 'parent = Parent(numbers[startpos:startpos + 4])' - step into line 87 and see result below. step over line 87 will continue to the next number in the for loop. Result: the debugging session ends. The debugging window shows the following lines. >>>[LOG]PythonDebugger : overall Starting [LOG]PythonDebugger.taskStarted : I am Starting a new Debugging Session ... [LOG]This window is an interactive debugging context aware Python Shell [LOG]where you can enter python console commands while debugging >>>/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py args = ['/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py', 'localhost', '29100'] localDebuggee= None JPyDbg connecting localhost on port 29100 JPyDbgI0001 : connected to localhost [stdout:]<MainThread(MainThread, runnable)> [stdout:]Starting the threads >>>'Parent' object has no attribute '_thread'['Traceback (most recent call last): deamon ended ', ' File "/home/tester/NetBeansProjects/PyThreads/src/PyThreads.py", line 87, in <module> parent = Parent(numbers[startpos:startpos + 4]) Debug session normal end ', ' File "/home/tester/NetBeansProjects/PyThreads/src/PyThreads.py", line 87, in <module> parent = Parent(numbers[startpos:startpos + 4]) ', ' File "/home/tester/NetBeansProjects/PyThreads/src/PyThreads.py", line 54, in __init__ """Documentation""" ', ' File "/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py", line 626, in trace_dispatch self.dispatchLineAndBreak(mainDebugger, frame , lthread ) ', ' File "/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py", line 506, in dispatchLineAndBreak while ( debugger.parseSubCommand( debugger.receiveCommand() , frame , lthread ) == FREEZE ): ', ' File "/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py", line 506, in dispatchLineAndBreak while ( debugger.parseSubCommand( debugger.receiveCommand() , frame , lthread ) == FREEZE ): ', ' File "/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py", line 1297, in parseSubCommand self.variablesSubCommand( frame , verb , arg , LOCALS ) ', ' File "/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py", line 1210, in variablesSubCommand self.dealWithVariables( frame , verb , arg ) ', ' File "/home/tester/.netbeans/dev-b550/config/nbPython/debug/nbpythondebug/jpydaemon.py", line 1080, in dealWithVariables xmlVariables.append(\'content="\'+ _utils.removeForXml(__builtin__.str(mapElement[1]))+\'" \') ', ' File "/home/tester/nbPython/netbeans-hudson-python-550/python1/jython-2.5/Lib/threading.py", line 170, in __repr__ _thread = self._thread ', "AttributeError: 'Parent' object has no attribute '_thread' "] >>>
Created attachment 75953 [details] show fix in progress on threading case
fix starting at build #663
Product Version: NetBeans IDE Dev (Build 20090120172641) Java: 1.6.0_11; Java HotSpot(TM) Server VM 11.0-b16 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Userdir: C:\Users\peter\.netbeans\dev20090120-b684 Verified in build #684 and the same problem still exists on the above Windows platform.
I am not able to reproduce on Linux(see the attached screenshot) so I switched the platform to windows
Peter , can you check that the python stacktrace you got with the new build is the same as the previous one ? if not can you attach the new stacktrace to the issue Thanks