Skip to main content

Showing Line Numbers in The Trace Window

Colin Nichols (http://www.spacefold.com/colin/index.html) recently reminded me of a feature that is "hidden" in the Visual FoxPro Options dialog. By default, it's not turned on and it's tricky to get to, obviously designed by an engineer who didn't run it through a few UI options.
 
Go to the Options dialog in Visual FoxPro and click on the Debug window. Everything looks pretty standard there, except did you know that if you click on one of the options in the Specify Window box, the options below it change? (check out the next set of images loaded)
 
In fact, not all the options change: each window has its own font control but the following windows have their own options:
 
Call Stack
- Show call stack order.
- Show current line indicator (defaults to on)
- Show call stack indicator
 
Output
- Log debug output. Great to automatically set a file where your debug output goes.
 
Trace
- Show Line Numbers
- Trace Between Breakpoints
 
Now, many of you (who READ the documentation or like to click around) may be aware of this (in fact, I remembered it but only AFTER Colin jogged my memory).  This is one of those UI design things that make it difficult for new programmers to work with the environment. If nothing else, all those Window specific options should exist in the right-click in the debugger. You can't access some of these options anywhere else but in the options dialog.
 
Reminder Note: When trying to find a feature in Visual FoxPro, search through the Options dialog for all those little "hidden" features that may not be obvious.

Comments

Popular posts from this blog

Merry Christmas

Whether you celebrate now, have already celebrated your past holiday, are planning to, or not, I hope you find yourself surrounded by family and those you love during this holiday season and are able to remember fondly those who are not with you. We often find ourselves buried in work, or too distracted by other problems, to share and remember a few moments with those closest to us. So many of us are separated by huge distances, we often find it easier to focus on those who are out of arm's reach yet so easy to connect with online, instead of those who are right beside us. So do yourself a favour, put down the keyboard (stylus, mouse, etc) and spend that time. I know I will. Merry Christmas. Powered by ScribeFire .

Programmers vs. Developers vs. Architects

I received an email this morning from Brandon Savage 's newsletter. Brandon's a PHP guru (works at Mozilla) but his newsletter and books have some great overall perspectives for developers of all languages. However, this last one (What's the difference between developers and architects?) kind of rubs me the wrong way. Either that, or I've just missed the natural inflation of job descriptions. (maybe, it's like the change in terminology between Garbage man and Waste Engineer or Secretary and Office Administrator) So maybe it's just me - but I think there's still a big difference between Programmer, Developer and then of course, architect. The key thing here is that every role has a different perspective and every one of those perspectives has value. The original MSF create roles like Product Manager, Program Manager, Developer, Tester, etc - so every concept may pigeon hole people into different roles. But the statements Brandon makes are often distinction...

From Writing to AI: the pattern repeats itself

When I was ten years old, my dad bought a computer and, thanks to an advertising supplement in a Superman comic I read, it was a TRS-80. A month later, he dragged the entire family (my mom and brother were not the most enthusiastic) to a class at Radio Shack teaching how to use microcomputers. At the time, I understood why my mom wasn’t that excited: the computer was yet another gadget in the house. But today I find it fascinating. My mother went to Vassar in the 50s. She learned how to type — not a common skill at the time — but it opened doors. Her ability to communicate effectively led her to a career in adult education and later communications work with the CBC (Canadian Broadcasting Corporation). This isn’t a nostalgia post. Today, the ability to use artificial intelligence, be it through Copilot or simply writing the right prompt, is becoming a critical skill. But is it really that novel? In the 1500s and 1600s, the printing press gradually made reading accessible beyond cler...