|
|
Re: Preview Mode issue [message #810750 is a reply to message #810726] |
Thu, 01 March 2012 14:05 |
Karthik Sevugarathinam Messages: 17 Registered: February 2012 |
Junior Member |
|
|
Hi Justin,
i did try placing break points but i do not see programming breaking at even the dbservice.getAllSkills. Once the program tries to execute "call dbService.getAllSkills() returning to updateAll" it hits function Start() again.I am aware that the dbservices are not being invoked but all my bindings are fine.Thank you
My friend and myself are working on the same buid in separate machine, but he does not encounter the same.The only difference being the version.
Regards,
Karthik
[Updated on: Thu, 01 March 2012 14:06] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Preview Mode issue [message #813751 is a reply to message #812243] |
Mon, 05 March 2012 17:08 |
Justin Spadea Messages: 66 Registered: July 2009 |
Member |
|
|
Okay, so I've tried 0.8 M1, 0.8 M2, and a recent nightly build, but I cannot reproduce this. Can you export your project as a zip file and attach it (File > Export > General > Archive File)? You can remove any sensitive data like passwords in your deployment descriptor beforehand. This will let me used the exact generated code that you're running.
Also, please go to Help > About > Installation Details > Features, click on the "Feature Id" column to sort it, find id "org.eclipse.edt.feature", and paste its version here. See my attached screenshot for an example from the M1 build. This will let me know exactly which build is being used so I can better match your environment.
And, to clear one thing up that might be confusing you: When you run a call statement from a RUI application to invoke a service, it is an asynchronous call. So we kick off the call and then the RUI application will immediately continue executing its code. A "step into" on the call statement does not step into the service, because the service is a separate process and not running in the browser. That's why you see it move to the next line of the RUI function instead of waiting for the service invocation to finish. Tip: If you want to debug your service function, just put a breakpoint in it.
The callback function in your RUI application will be run once the service has finished processing. JavaScript is single-threaded so only one piece of code can be running at a time, therefore your callback won't be invoked until nothing else is running.
-Justin
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05530 seconds