 |
| Author |
Message |
|
|
Posted: Jul 11, 2012 - 09:43 AM |
|


Joined: Jul 27, 2011
Posts: 538
Location: Atmel, Norway
|
|
|
Quote:
Here's an excerpt from the "official" Atmel help available on the help menu. Look it up in the help to get the nice formatting
Help Viewer Home
* Atmel Studio User Guide
* * Debugging
* * * QuickWatch,Watch, Locals...
* * * * Expression formatting
http://www.atmel.no/webdoc/atmelstudio/ ... xpressions |
_________________ :: Morten
|
| |
|
|
|
|
|
Posted: Jul 11, 2012 - 09:57 AM |
|

Joined: Mar 01, 2011
Posts: 154
Location: Atmel, Norway
|
|
Mistery solved:
If the expression after comma is a symbol, it will be treated as a formatting string only if it doesn't evaluate as a variable. In the latter case, comma behaves as the regular C comma operator.
We should probably change this to avoid the current confusion when people have local variables named "o", "x" or "b".
dan |
|
|
| |
|
|
|
|
|
Posted: Jul 11, 2012 - 05:23 PM |
|


Joined: Dec 06, 2007
Posts: 2512
Location: Redmond, WA USA
|
|
|
danv wrote:
Mistery solved:
If the expression after comma is a symbol, it will be treated as a formatting string only if it doesn't evaluate as a variable. In the latter case, comma behaves as the regular C comma operator.
We should probably change this to avoid the current confusion when people have local variables named "o", "x" or "b".
dan
Yes dan, I solved that in this post above.
http://www.avrfreaks.net/index.php?name ... 894#972894 |
_________________ Larry
Those afraid to embrace the future will quickly fade into the past. - larryvc
|
| |
|
|
|
|
|
Posted: Jul 12, 2012 - 08:42 AM |
|

Joined: Mar 01, 2011
Posts: 154
Location: Atmel, Norway
|
|
Hehe, I guess this was a feature that turned out to be a bug. For reference, I've removed the feature (or bug) from the future release of Studio  |
|
|
| |
|
|
|
|
|
|
|