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?
What type of code do you want to debug in the debugger
- ServerSide JavaScript (89%, 55 Votes)
- Java Code (56%, 35 Votes)
- ClientSide Javascript (50%, 31 Votes)
Total Voters: 62
If you look at other languages there is alot of interesting features in debuggers like
If you had the possibility to add two of these features what would you choose?
- Step backwards to see how an error ocurred (look at variable recording) (61%, 27 Votes)
- Conditional breakpoints "stop when a variable reaches a certain value" (50%, 22 Votes)
- Visual execution display, show how the flow of the application was (36%, 16 Votes)
- Debug Clientside and continue into serverside code and back again (32%, 14 Votes)
- Profiling code blocks (14%, 6 Votes)
Total Voters: 44


Debugging has been sorted out for the general Eclipse population in 3.5 or 3.6 -> there are standard APIs and ways. So I would expect the Eclipse debugging framework to be used. There are tons of articles and help around how to use that.
It is the way how to debug plug-ins and I wouldn’t see the logic to use a different approach for applications.
Of course the debugger connects “from behind”, so you won’t see/run any client side JavaScript. Therefore some Firebug integration might make sense?
Also: a “workbench” where I can pick the calls I want to make to my server side and inspect the results would make a lot of sense.
… or debugging while showing the page in the embedded browser in Eclipse.
Hi, To debug the Xpage code, we can use a custom control. it has a console where can check values of session, view and custom variables. here is the link:
http://www.openntf.org/projects/pmt.nsf/ProjectLookup/XPage%20Debug%20Toolbar
The XPage Debug Toolbar was created by Mark Leusink.