Professional Documents
Culture Documents
Module Debugging by The Book - How
Module Debugging by The Book - How
SATYASIBA DAS
OpenText Developer Networ... / Library / Content Management / Content Server SDK / Content Server IDE /
Content Server IDE Develo... /
Special Notice: This Forum and all Topics have been archived and is available as Read-Only.
To participate in all Forums or Topics, please navigate to https://forums.opentext.com .
https://forums.opentext.com
The Content Server IDE Plug-in for Eclipse (CSIDE) is a source code-based development environment that you can use to extend Content
Server.
CSIDE provides tools for creating new modules and a run-time environment for testing, and debugging modified functionality. CSIDE must
be installed on the same machine as a Content Server installation. The modifications you develop in CSIDE on one platform can be
deployed in a Content Server installation on any supported operating system.
We have retired the Builder and Oscript Developer Forums. Please use the Search box below to discover any topics in those forums:
Content Server IDE Development Forum > Simple basic module debugging by the book - how??
https://knowledge.opentext.com/knowledge/llisapi.dll/fetch/2001/15080935/-15106263/15106294/15106295/16376487/42329092/cside/index.html
My problem is simple:
but whatever i try, i cant get my breakpoint or my echo statement, get hit.
I know it is probably a trivial issue, but hey.. we've all been NewBees sometime in our career :-)
Can someone give me a simple step by step guidance in addition to the one I have in the link above?
Thanks
Yaron
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=59342229&objAction=viewincontainer 1/4
5/26/23, 10:34 PM Simple basic module debugging by the book - how??
I looked at the material and it is different from its predecessor the "addressbook module”. In that there was a good effort for a new developer who had installed 1) a
working livelink system 2) a installed builder to say spend 1 -2 days and get a "Hello World" out. Actually more than that.If you can get your hands on the old builder
documentation it "may" make more sense. Now CSIDE is a very new thing to Oscript Dev and I am no expert in this but here's how one does this. Where simple
explanations are possible I have tried to indicate.
3. Create a new "OScript" project specifying the OTHOME as the place where your livelink server is.
4. If all goes well you should see in CSIDE console debug lines and almost at the end "Server starts on port 2099". if livelink was running it would ask
should I stop, you should that is your development mode.
5. Oscript explorer the raw OS files side these get compiled to a single .oll on the livelink(module explorer) side.
6. Module Explorer the running compiled oscript usually oll's in windows. Note if this side does not show your working module after you have "installed"
your module then livelink "does not" know your module.
7. Without further ado create a new "module" and resist the temptation of doing anything substantial to it.If all goes well your module will be seen in
/staging of livelink with a <module>.ini .Perhaps follow the screen shot in the CSIDE documentation.
8. Now install it by running?func=admin.installmodule you have to re-start the livelink server,CSIDE has a convenient stop /start(Red/Green) on the
module explorer side. Now save this .oll or rather the module itself to a safe location. You will thank me in a later date.
9. Now see the oscript explorer side and the module explorer side.On the right if your module appears in all its red iconic glory and on the left on the
oscript explorer side your module now looks like Objects. You can know because for e.g. the WebModule will have + uses and you can expand them. They
are your objects.See OT screen shots.
10. Now if you a write a "Hello World" in your Root object and you "compile" using automatic build or clean build you will see your "Hello World" when the
server starts up or in thread0.out log.
And before OT people reprimand me if the intent of that documentation is to get a new programmer get up to speed in development consider a recorded video for
that. Most of the oscripters in the world including me attended training at some time or the other so if you do not get a full grasp of how livelink programming works it
may cause you to have more doubts.
1. 1. Do not change code in any vended modules whether OT or private Vendor.Create your module and “override” objects properly.Search
"CUSTOMIZATIONS_RT" for a approach.
2. 2. Always back up the livelink server side on your dev VM ,many times mis compilation will render a unusable livelink system. CSIDE throws more dump files
than the older environment.
3. 3. See the screenshots in the OT Document so you can know the Oscript explorer side vs the livelink module explorer side.
4. Familiarize core concepts like Request Handlers, WebNodes,Its Actions, Subtypes(new node types) etc. above all try to see if you can debug a call from the GUI
to oscript and out.
Hi,
I am a Newbee to OpenText and trying to create simple module according to the "Content Server IDE Plug-in for Eclipse Quick Start Guide":
https://knowledge.opentext.com/knowledge/llisapi.dll/fetch/2001/15080935/-15106263/15106294/15106295/16376487/42329092/cside/index.html
My problem is simple:
but whatever i try, i cant get my breakpoint or my echo statement, get hit.
I know it is probably a trivial issue, but hey.. we've all been NewBees sometime in our career :-)
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=59342229&objAction=viewincontainer 2/4
5/26/23, 10:34 PM Simple basic module debugging by the book - how??
Can someone give me a simple step by step guidance in addition to the one I have in the link above?
Thanks
Yaron
Well, if I called the wrong number, why did you answer the phone?
I tried it with simple Luna eclipse and also with Luna for java EE.
Does anyone know why the debugger is not fully work as it should?
Thanks
Location: Moscow It woluld be great if someone from cside team can answer if there are plans on implementing expression watches or just watch simple
variables.
There is an expressions tab in eclipse on debug perspective but I cant figure out how to use it.
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=59342229&objAction=viewincontainer 3/4
5/26/23, 10:34 PM Simple basic module debugging by the book - how??
Casselman By "hover", do you mean in the editor, or in some other view, like the Module Explorer or the Variables tab?
If you mean the editor, this is not a feature we've implemented yet.
Location: Waterloo
And you're correct: we haven't implemented the Expressions view either. That comes with the base Eclipse install.
Darcy.
TERMS OF USE: TERMS OF USE: Open Text Corporation provides open discussion forums on the Knowledge Center for the community of Open Text employees, its customers, and its Affinity Partners. Knowledge Center
discussions are monitored, but not moderated. Please keep in mind that if your question or problem is urgent, you should contact your local Open Text Customer Support office directly. The Acceptable Use Policy on the
Discussions home page describes the types of behavior that are prohibited on the Knowledge Center. Violation of this policy will result in the removal of the offending materials and the temporary or permanent suspension of
service for the offender(s), or other appropriate action(s) deemed necessary by Open Text Corporation.
Latest News From The Future of Business Visit the OpenText Visit Community and Visit OpenText.com →
OpenText Blogs → → YouTube Channel → Forums →
Self-Service
Services
Consulting Services
Managed Services
Learning Services
Account
Partners
PartnerView
Deal Desk
Sites
OpenText Blog
OpenText.com
Send Feedback
https://knowledge.opentext.com/knowledge/llisapi.dll?func=ll&objId=59342229&objAction=viewincontainer 4/4