Search Results for: debugger

Start using the New SSJS Debugger in Designer 9

My first show is on Notes in 9 check it out.

SSJS Debugger Demo in Notes in 9

Check out my two post last year regarding a SSJS Debugger  –> Link

Conditional breakpoints was one of the suggestions that was voted up as a function in the debugger and we get that. I don’t know if someone at IBM did read this and the feature is there because of the post but I like to think so 😉


If you have any great tip regarding debugging in Designer 9 please feel free to comment.

This is the result of the debugger poll

I have a little poll Link about what the developer community want from a future debugger I had 62 people responding to the poll, Not a huge amount but anyway enough to see the direction. A future debugger of XPages needs SSJS debugging, java and client side debugging is not necessary. 

It was a close run between new debugging features that I listed  between conditional breakpoints and

backwards debugging and the backwards debugging won. It would be great to have both these functions in a future debugger. How could a backwards debugger work in Domino, well I think that it could work like this. When you start debugging every change to variables is logged the only variables that can be traced is your own variables. no objects. Then when you start to trace backwards these changes is shown in the debugger like playing a movie backwards.

Looking forward to the day when we get a debugger. 

Debug XPages code with a debugger of your choice

It has been alot of talk about a debugger for XPages, Do we need a copy of the lotusscript debugger. Or a brand new debugger that gives us new ways to debug our code. Yes please. I think there is several new interesting ideas on how to debug code faster and better. How would you like to debug your xpage code?

[poll id=”5″]

If you look at other languages there is alot of interesting features in debuggers like

[poll id=”6″]
Comment on this post if I’m missing something or if you have some ideas about what a good debugger should contain.
Backwards debugging in flash
(Yes, I know flash is based on a timeline, so debugging forward and backwards is easier in flash)

NodeUSB the startup – Blinking lights

My NodeUSB Controllers came with the firmware preflashed so I didn’t need to do the first steps of flashing the firmware, perhaps in the future when a new release is out I will look at that step. How to Flash

What I did do was that I started to download the driver unzipped the driver and installed it into my machine. the next step was to download an unzip the java based editor ESPlorer  download here unzip that in a folder on your machine.
Now it’s time to try to plugin your NodeUSB
I attached the NodeUSB, with the debugger and the LED light like this


Next step was to add it into a usb port on my computer Win 7 x64 you will see that windows will start to search for a driver. You can click on the link below that says don’t search on Windows Update because you already have the driver installed. When the driver installation is done, note what Com port that has been assigned to your NodeUSB.

Start ESPlorer in the folder your did unzip it by clicking on ESPlorer.bat


Connect to your NodeUSB by selecting the Com port  and after that click on open


You should then get


You are now ready to try your first piece of code

I have copied the code from this page


gpio.mode(ledPin,−DVFMTSC−> gpio.OUTPUT)

if−DVFMTSC−> lighton==0−DVFMTSC−> then
−DVFMTSC−> −DVFMTSC−> −DVFMTSC−> −DVFMTSC−> gpio.write(ledPin,−DVFMTSC−> gpio.HIGH)
−DVFMTSC−> −DVFMTSC−> −DVFMTSC−> −DVFMTSC−> gpio.write(ledPin,−DVFMTSC−> gpio.LOW)


Add that code into the right editor in ESPlorer


When you are done click on Save to ESP  a save dialog will show up and you can select where to save your new code. When that is done your code is uploaded to the NodeUSB and the blinking shall begin. If it doesn’t you might have plugged the LED Light to the wrong usb port.

Note that your file name is added to the right hand list of files on the NodeUSB device.

When you want to end you program click on reset in the lower left corner.


If firmware can’t be detected press Close and open again.

The NodeUSB Nodes

The NodeUSB package contained these nodes plus a solar panel and a powerpack plus some soldering connectors. I will create more pages how to proceed with the first program and how to assemble.

The Main controller


The Debugger board


Flasher board that needs soldering


PCB connector boards


The Led Light Node


Motion sensor Node



The Relay Node


The 433MHZ recieve Node


The 433MHZ Transmit Node


The si7021 nodes – Humidity Sensor


The bmp018 nodes – Barometric Pressure Sensor


Guide to IBM Notes and Domino 9.0 Development Certification

The development updates are out and it’s time after the summer to start thinging of dooing the update test. because everybody wants to be a Notes/Domino 9 certified developer right?

I have added resources as links to allmost all parts of the LOT-408 certification requirements list if you find more resources let me know and I will update/add more references to the list.

Let’s check what the requiements to do the test. (from the cert page)

What’s new in Notes Domino 9 resources (Entries above with no link can be found in the resources below)

Wiki Designer 9 News Video1 Video2 cheatsheet pdf from TLCC

My top 5 things that we need in XPages

1. Better Client and OS integration
You need to be able to do things in an XPage that you are used to in an ordinary client.

  • Copy and paste images into the rt field
  • Communicate with the eclipse client framework
  • Integration with other desktop applications
  • Finally get a full integration with symphony documents.
    (Open them directly from an XPage thru code, create from template, set content in Symphony)
2. Integrated Debugger and Memory profiler
Checkout the debugger in visualstudio this is how the debugger should work in my opinion. Start debugging in client code continue over in server side code and back again. NICE ;-). Memory profiler that is built in would also be great and not just for test environments (When do you really need them ? ).
3. More error handling in the designer
Today in the designer you can make errors easily that you will have a hard time finding.


4. WebServices
In all other modern development environments webservices is used alot. We need support for Webservices in XPages both in code and as a datasource.


5. Integrated Extension library
We need the extension library to be integrated into the server and client install.
If it’s installed. It’s also updated like you update Firefox or Chrome, automatically!


This is my top 5 things, no specific order. What are yours?


Strange Javascript numbers in IE9

I got a strange error today. I loaded some data using Ajax from a Domino view.

Looped thru the data and did some addition with the numbers. Nothing strange with this and
this code have been in production for a long time.


This code stopped working in IE9 both with and without compability mode. The code worked in Chrome and Firefox. If I ran the code using the IE9 debugger it also worked. But in IE9 it started to display the last parttot in the tot variable.

Strange or what???
It gets more strange. I changed the code to


and now the code works in all browsers.