On 02/22/2011 09:44 AM, Fabio Zadrozny wrote:
> On Tue, Feb 22, 2011 at 12:14 PM, Clayton Keller<inetad...@ruraltel.net>  
> wrote:
>> When attempting to debug code I receive a dialog box indicating "Error
>> setting breakpoints" with the following details:
>>
>> "Error logged from Pydev Debug:
>> org.eclipse.core.internal.dtree.NoDataDeltaNode cannot be cast to
>> org.eclipse.core.internal.dtree.DataTreeNode"
>>
>> I can run files without issue but receive the above error when
>> attempting to debug with our without breakpoints set.
>>
>> I also see this error detail when attempting to load Eclipse and if the
>> program tries to load an existing file into the editor that persisted
>> from the last usage of the application. If I close that file any files
>> which also were open work fine and any new files open work fine as well.
>>
>> I am running Eclipse as a non-root user.
>>
>> Here is my environment.
>>
>> Eclipse: 3.6.1 Build id: M20100909-0800 ("Classic" version downloaded
>> from site)
>> Pydev: 1.6.5.2011020317
>> Fedora Core 14 x86_64
>> Python 2.7
>>
>>
>> Any additional assistance on the error would be greatly appreciated.
>
>
> Hi Clayton,
>
> Do you have the complete stack-trace in your error log? Can you paste
> it? (see: http://pydev.org/faq.html#how_do_i_report_a_bug for
> instructions on getting it).
>
> Cheers,
>
> Fabio
>

Fabio,

Here's the stack-trace on "Error setting breakpoints", which happens 
when I try to execute the file from Debug.

---
java.lang.ClassCastException: 
org.eclipse.core.internal.dtree.NoDataDeltaNode cannot be cast to 
org.eclipse.core.internal.dtree.DataTreeNode
at 
org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:120)
at 
org.eclipse.core.internal.resources.MarkerManager.visitorFindMarkers(MarkerManager.java:614)
at 
org.eclipse.core.internal.resources.MarkerManager.doFindMarkers(MarkerManager.java:277)
at 
org.eclipse.core.internal.resources.MarkerManager.findMarkers(MarkerManager.java:262)
at 
org.eclipse.core.internal.resources.Resource.findMarkers(Resource.java:1017)
at 
org.python.pydev.debug.model.AbstractDebugTarget.addBreakpointsFor(AbstractDebugTarget.java:590)
at 
org.python.pydev.debug.model.AbstractDebugTarget.initialize(AbstractDebugTarget.java:577)
at 
org.python.pydev.debug.ui.launching.PythonRunner.runDebug(PythonRunner.java:162)
at 
org.python.pydev.debug.ui.launching.PythonRunner.run(PythonRunner.java:87)
at 
org.python.pydev.debug.ui.launching.AbstractLaunchConfigurationDelegate.launch(AbstractLaunchConfigurationDelegate.java:104)
at 
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at 
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at 
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at 
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
---

Please let me know if you need additional information.

Clay

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to