I have had this situation when using IBM i projects.  While I don't
   remember the specifics, it seemed that I had downloaded all of my source
   to the PC that was the copy it was looking at when debugging not the copy
   on my server.  When I deleted that project, I was OK.  Maybe this will
   help.
   michael
   From:        "Tarr, Kenneth" <Kenneth.Tarr@xxxxxxxxxxxxxxxxxx>
   To:        "'Rational Developer for IBM i / Websphere Development Studio
   Client for        System i & iSeries'" <wdsci-l@xxxxxxxxxxxx>
   Date:        02/22/2010 09:32 AM
   Subject:        Re: [WDSCI-L] Debug not in sync (WDSC 7.0.0.8)
   Sent by:        wdsci-l-bounces@xxxxxxxxxxxx
   --------------------------------------------------------------------------
   A follow up...when in debug view I can click on the line and select Switch
   View.  From here I can select *SOURCE or *STATEMENT.  When *SOURCE is
   selected, it points to the wrong line.  When *STATEMENT is selected, it
   shows the right line, but does not show the actual code (just the
   statement number).  So is there something set up wrong that it's pointing
   to the source incorrectly?  I've searched for other copies of the source
   and the only one is in my library which I have it pointing to...the same
   copy that is now compiled and running in debug.
   Ken
   -----Original Message-----
   From: wdsci-l-bounces@xxxxxxxxxxxx
   [[1]mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Tarr, Kenneth
   Sent: Monday, February 22, 2010 11:11 AM
   To: 'Rational Developer for IBM i / Websphere Development Studio Client
   for System i & iSeries'
   Subject: [WDSCI-L] Debug not in sync (WDSC 7.0.0.8)
   I am having a problem with Debug not in sync with the line numbers.  Since
   a couple of days ago I have not been able to use Debug to debug my
   application.  It shows a completely different line number from the source
   than what is actually being executed.
   Here's what I have tried so far:
   -- Recompiled the application
   -- Cleared the cache (there are two locations where this can be done)
   -- Changed to a different workspace
   -- Clicked the Outline view to refresh the outline
   No matter what I do, even when new lines are added or existing lines in
   the program are removed, it doesn't sync up (and keeps going to the same
   line number when I press F5 or F6 the first time when the application
   begins).
   I've even had it point to the source in two locations; one on the iSeries,
   and one on my hard drive.  Still comes to the same line numbers which are
   not the actual lines being executed.
   Any help would be appreciated.
   Ken
   *********************** NOTICE***********************
   This e-mail and attachment(s) may contain information that is
   privileged, confidential, and/or exempt from disclosure under
   applicable law. If the reader of this message is not the intended
   recipient, you are hereby notified that any dissemination,
   distribution, or copy of this message is strictly prohibited. If
   received in error, please notify the sender immediately and
   delete/destroy the message and any copies thereof. Although
   Associated Banc-Corp and/or its affiliates (collectively
   "Associated") attempt to prevent the passage of viruses via e-mail
   and attachments thereto, Associated does not guarantee that either
   are virus-free, and accepts no liability for any damage sustained
   as a result of any such viruses.
   Any federal tax advice contained in this communication (including
   any attachments) is not intended or written to be used or referred
   to in the promoting, marketing, or recommending of any entity,
   investment plan or agreement, nor is such advice intended or written
   to be used, and cannot be used, by a taxpayer for the purpose of
   avoiding penalties under the Internal Revenue Tax Code
   --
   This is the Rational Developer for IBM i / Websphere Development Studio
   Client for System i & iSeries  (WDSCI-L) mailing list
   To post a message email: WDSCI-L@xxxxxxxxxxxx
   To subscribe, unsubscribe, or change list options,
   visit: [2]
http://lists.midrange.com/mailman/listinfo/wdsci-l
   or email: WDSCI-L-request@xxxxxxxxxxxx
   Before posting, please take a moment to review the archives
   at [3]
http://archive.midrange.com/wdsci-l.
   *********************** NOTICE***********************
   This e-mail and attachment(s) may contain information that is
   privileged, confidential, and/or exempt from disclosure under
   applicable law. If the reader of this message is not the intended
   recipient, you are hereby notified that any dissemination,
   distribution, or copy of this message is strictly prohibited. If
   received in error, please notify the sender immediately and
   delete/destroy the message and any copies thereof. Although
   Associated Banc-Corp and/or its affiliates (collectively
   "Associated") attempt to prevent the passage of viruses via e-mail
   and attachments thereto, Associated does not guarantee that either
   are virus-free, and accepts no liability for any damage sustained
   as a result of any such viruses.
   Any federal tax advice contained in this communication (including
   any attachments) is not intended or written to be used or referred
   to in the promoting, marketing, or recommending of any entity,
   investment plan or agreement, nor is such advice intended or written
   to be used, and cannot be used, by a taxpayer for the purpose of
   avoiding penalties under the Internal Revenue Tax Code
   --
   This is the Rational Developer for IBM i / Websphere Development Studio
   Client for System i & iSeries  (WDSCI-L) mailing list
   To post a message email: WDSCI-L@xxxxxxxxxxxx
   To subscribe, unsubscribe, or change list options,
   visit: [4]
http://lists.midrange.com/mailman/listinfo/wdsci-l
   or email: WDSCI-L-request@xxxxxxxxxxxx
   Before posting, please take a moment to review the archives
   at [5]
http://archive.midrange.com/wdsci-l.
   This email and any files transmitted with it are confidential and intended
   solely for the use of the individual or entity to whom they are addressed.
   Unless you are the addressee (or authorized to receive for the addressee),
   you may not use, copy or disclose to anyone this email or any information
   contained in this email. If you have received this email in error, please
   advise the sender by replying to this email, and delete this email
   immediately. Please note that any views or opinions presented in this
   email are solely those of the author and do not necessarily represent
   those of Western Dental Services, Inc. Finally, the recipient should check
   this email and any attachments for the presence of viruses. Western Dental
   Services, Inc. accepts no liability for any damage caused by any virus
   transmitted by this email.
References
   Visible links
   1. mailto:wdsci-l-bounces@xxxxxxxxxxxx
   2. 
http://lists.midrange.com/mailman/listinfo/wdsci-l
   3. 
http://archive.midrange.com/wdsci-l
   4. 
http://lists.midrange.com/mailman/listinfo/wdsci-l
   5. 
http://archive.midrange.com/wdsci-l
As an Amazon Associate we earn from qualifying purchases.