problem debugging class [message #243779] |
Wed, 16 May 2007 09:29  |
Eclipse User |
|
|
|
Hi,
I am trying to debug a class, but when I reach a breakpoint it appears
not in my source class but a duplicate class. Class looks the same but
without any changes I've added (print statements, string initialization
etc). Also the icon for editor is different, still a "J", but different.
What's going on here? I am doing something wrong?
thanks,
Alex
|
|
|
|
|
Re: problem debugging class [message #243795 is a reply to message #243791] |
Wed, 16 May 2007 13:26   |
Eclipse User |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
Alex,
it sometimes happens to me when i edit plug-ins from workspace, but then
forget to select them in "Launch configuration" and instead them,
versions from my host Eclipse are used.
What it shows if in debug mode, you right click in editor and choose
"Show in Package Explorer"?
Aleksandr Krvavets wrote:
> Thanks Darin,
>
> I am running Eclipse Application and there is no Source tab there.
>
> Alex
>
> Darin Swanson wrote:
>> Somewhere on your source lookup you have the same class and this one
>> is being found before the one you are editing in your workspace.
>> For a Java application, take a look at the Source tab on your Java
>> Application launch configuration.
>>
>> HTH
>> Darins
>>
>> "Aleksandr Krvavets" <aleksandr.kravets@gmail.com> wrote in message
>> news:f2f0uu$in5$1@build.eclipse.org...
>>> Hi,
>>>
>>> I am trying to debug a class, but when I reach a breakpoint it
>>> appears not in my source class but a duplicate class. Class looks the
>>> same but without any changes I've added (print statements, string
>>> initialization etc). Also the icon for editor is different, still a
>>> "J", but different. What's going on here? I am doing something wrong?
>>>
>>> thanks,
>>> Alex
>>
>>
|
|
|
Re: problem debugging class [message #243800 is a reply to message #243795] |
Wed, 16 May 2007 13:45  |
Eclipse User |
|
|
|
It shows the file in my plugin's src directory, but without the changes
I've made. So may be Darin is right that it reads a different source
somehow linked with the actual source file?
Jacek Pospychala wrote:
> Alex,
> it sometimes happens to me when i edit plug-ins from workspace, but then
> forget to select them in "Launch configuration" and instead them,
> versions from my host Eclipse are used.
> What it shows if in debug mode, you right click in editor and choose
> "Show in Package Explorer"?
>
>
> Aleksandr Krvavets wrote:
>> Thanks Darin,
>>
>> I am running Eclipse Application and there is no Source tab there.
>>
>> Alex
>>
>> Darin Swanson wrote:
>>> Somewhere on your source lookup you have the same class and this one
>>> is being found before the one you are editing in your workspace.
>>> For a Java application, take a look at the Source tab on your Java
>>> Application launch configuration.
>>>
>>> HTH
>>> Darins
>>>
>>> "Aleksandr Krvavets" <aleksandr.kravets@gmail.com> wrote in message
>>> news:f2f0uu$in5$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> I am trying to debug a class, but when I reach a breakpoint it
>>>> appears not in my source class but a duplicate class. Class looks
>>>> the same but without any changes I've added (print statements,
>>>> string initialization etc). Also the icon for editor is different,
>>>> still a "J", but different. What's going on here? I am doing
>>>> something wrong?
>>>>
>>>> thanks,
>>>> Alex
>>>
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.03531 seconds