TI E2E Community
Code Composer Studio
Code Composer Forum
2nd Watch Window
Is there a way to set up a second Watch window? ... Code Composer 4.
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.
It would be good if this feature were added to Code Composer. Visual Studio gives the option of displaying up to four Watch windows.
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.
You can have any number as you want in v5.
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?
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.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.