• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » 2nd Watch Window
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    2nd Watch Window

    This question is answered
    460822
    Posted by 460822
    on Jun 20 2012 13:53 PM
    Genius3145 points

    Is there a way to set up a second Watch window? ... Code Composer 4.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Jun 20 2012 14:22 PM
      Guru100185 points

      Hello,

      while you can open a second view, these will not be independent.  What that means is that you can not watch one set of variables in one and other variables in another.  They will always both show the same. 

      Hope this helps clarify.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • 460822
      Posted by 460822
      on Jun 20 2012 15:01 PM
      Genius3145 points

      It would be good if this feature were added to Code Composer.  Visual Studio gives the option of displaying up to four Watch windows.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Winnie Lai
      Posted by Winnie Lai
      on Jun 21 2012 08:53 AM
      Verified Answer
      Verified by Ki-Soo Lee
      Prodigy530 points

      Yes. Try the following steps. It will be clear to see the attached screenshot.

       

      1) In the local toolbar of an expression view, click open new view.

      2) if you want an instance of the view to 'stick' to a particular debug context, click 'Pin to Debug Context' in the local toolbar of the view instance. Once you have the view instance pinned to a particular debug context, you can find a description right under the local toolbar specifying which context is tied to. It is obvious that a non-pinned view instance will tie to an 'active' debug context, whichever is currently highlighted in the debug view.

      You can do the 'open new view' and 'pin to debug context' for expression view, variables view, and register view.

      A little difference between ccsv5 vs ccsv4 is that, the list of expressoins in all expression view instances in v5 is 'global', while the list of expressions in v4 is local. Either the list is 'global' or 'local' per view instance, the value for each expressoin is evaluated for the 'pinned' debug context (if pinned) or the active debug context (if not pinned).

      There is pros and cons of a 'global' list:

      You don't have to type the same list of expressions for each view instance in v5 but you have to do so in v4.

      The little drawback is that, if an expression symbol does not exist in a particualr debug context, you will see 'identifier not found' in its value cell. If you have a bunch of expressions that don't exists, you may find the view instance pretty crowded with 'useless' info. I agree, this is somthing I should look at to improve.

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Winnie Lai
      Posted by Winnie Lai
      on Jun 21 2012 08:54 AM
      Prodigy530 points

      You can have any number as you want in v5.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • 460822
      Posted by 460822
      on Jun 21 2012 09:30 AM
      Genius3145 points

      I don't see an option to view Expressions in Code Composer 4.

      How does one set the default for the Local window and Watch window to be decimal instead of hex?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Winnie Lai
      Posted by Winnie Lai
      on Jun 21 2012 09:52 AM
      Verified Answer
      Verified by Ki-Soo Lee
      Prodigy530 points

      Watch window in v4 is Expressions view in v5. Similarly, Local window in v4 is Variables View in v5.

      To change default format in v4, go to main menu, select Window->Preference menu item, it will open a dialog. In the dialog, browse to C/C++ Debug as shown below, where you can select one format for Local and another format for Watch.

      You can do a similar step to control format for v5.

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use