sources from other platform shown when debugging swt [message #256207] |
Tue, 09 September 2008 04:14 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03802 seconds