Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » sources from other platform shown when debugging swt
sources from other platform shown when debugging swt [message #256207] Tue, 09 September 2008 04:14
Eclipse UserFriend
Originally posted by: Michal.Dobisek.wallstreetsystems.com

Hi,

I might miss the right keyword, but I did not find any post/bug related
to this.

In my target platform, I have the source fragments for all platforms
(i.e. win32, macos, etc.). Each of them defines the
Eclipse-PlatformFilter: for the appropriate osgi.ws/os/arch attributes.
I work in Windows XP. When I lookup sources using Ctrl+Shift+T, the
correct (win32) source for SWT classes are found. However, when I debug
and I step into some SWT class, wrong (macos-carbon) source is shown in
the editor.

It seems to behave like this only when debugging RCP applications - when
I try some plain Java (i.e. SWT snippets), then the correct source is
fond. I checked, that System.getProperties() in the running application
has the osgi.ws/os/arch properties set correctly to win32/win32/x86. I
also tried to disable the fragment with carbon sources in the Target
Platform preferences, but I still had the source shown (even Eclipse
restart did not help).
I am developing in Eclipse 3.4, my target platform is 3.3 (I experienced
the same problem when both my target and development environments were 3.3).

Of course, a workaround to the problem is to delete the extra sources
from my target platform, but it's not very clear solution.

Thanks in advance for any suggestions how to fix my problem.

Michal
Previous Topic:JBoss Tools Plugins Don't Show Up
Next Topic:Problem with Display view during Java debugging
Goto Forum:
  


Current Time: Tue Sep 16 09:11:14 EDT 2025

Powered by FUDForum. Page generated in 0.03802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top