Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Dear Experts,

I have developed an SAPUI5 application on Eclipse and I am using a SQL Anywhere database as its back end. I want to debug the SQL procedure called in the UI5 application for posting data. I have opened the SQL Anywhere in debug mode but the application doesn't stop at the breakpoint. Kindly help.

asked 24 Apr '17, 02:47

suberta's gravatar image

suberta
100111117
accept rate: 0%

There is an article in DCX that describes everything related to the debugging in SA17. Have you read and followed it? The SQL Anywhere Debugger

(24 Apr '17, 04:18) Vlad
Replies hidden

Yes, I have read it and I am able to debug the procedure through Interactive SQL Window. Only when I run my SAPUI5 application that is calling this procedure, the breakpoint is not triggered.

(24 Apr '17, 05:51) suberta
1

When you switch to debug view in SQL Central, you have to accept the "debug all users" (*) suggestion. I'm guessing you have done that because you can debug from Interactive SQL windows.

If I had to guess I'd suspect the procedure is not being called. There are several moving parts between UI5 and the stored procedure: perhaps the problem is in one of those parts. You could check by adding a MESSAGE statement with TO CONSOLE (http://dcx.sap.com/index.html#sqla170/en/html/3be51a926c5f10148fd9c9c9884dde68.html) to your procedure: like a printf only it writes to the SQL Anywhere console.

(26 Apr '17, 10:46) Tom Slee
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×106

question asked: 24 Apr '17, 02:47

question was seen: 1,079 times

last updated: 26 Apr '17, 10:46