Search DominoPower's 11,437 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
PROGRAMMING POWER
What to do if the LotusScript debugger won't single-step over code
By David Gewirtz

My first programming language was FORTRAN -- and we entered and tested our programs by typing up punch cards, individual paper cards for each line of code. It was the dark ages for programmers back in the 70s. The first time I encountered a symbolic debugger was when I was programming C in 64K on CP/M systems.

Strangely enough, last week, I installed Microsoft's Visual Studio 2008 and instead of it running in 64K, the compressed ISO alone was almost 4 gigabytes. Talk about bloat. But like the C compiler of old, Visual Studio has a symbolic debugger -- and as a programmer, I love debuggers.

Notes, of course, also has a debugger. And while I love debuggers, there's one thing I don't like: when debuggers have bugs. If you've been attempting to debug LotusScript, particularly a piece of LotusScript with shared fields, you may have noticed that the Notes debugger itself needs a little debugging.

In my experience, the code stepper doesn't always step through the code. I've found that sometimes it'll skip form events, sometimes it'll skip subform events and it also might skip events with shared fields.

This is not a new problem. Although I no longer have a Notes 5 installation on anything, I do have some VM images of Notes 6.0, 6.5, 7.0, and 8.0. The problem occurs on all of them. I was hoping 8.5 would fix the problem, but no such joy.

There is one way to diagnose the problem. If you're trying to single-step your way through code, check to see if you have any shared fields. If you do, then you might want to consider using a standard field -- which the debugger will actually debug.

It's actually not that frustrating -- once you know what to look for.

David Gewirtz is the author of How To Save Jobs and Where Have All The Emails Gone? For more than 20 years, he has analyzed current, historical, and emerging issues relating to technology, competitiveness, and policy. David is the Editor-in-Chief of the ZATZ magazines, is the Cyberterrorism Advisor for the International Association for Counterterrorism and Security Professionals, and is a member of the instructional faculty at the University of California, Berkeley extension. He can be reached at david@zatz.com and you can follow him at http://www.twitter.com/DavidGewirtz.


Other articles you might like
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   Little known traps about Lotus Notes fields
   Use the LotusScript Split function to write simpler code
Home > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
Adding Quick Highlighter support to IBM Lotus Notes Domino Wiki, Weblog, or Webpage
Remember Young Admins...there are 2 files
WebSphere Portal 6.1.0.2 and Lotus Domino 8.5
The CKEditor - with Domino
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login