<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Debug API for SQL Anywhere in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817405#M4848248</link>
    <description>&lt;P&gt;SQL Anywhere has had a stored procedure and trigger debugger since Version 6 was released in 1998. AFAIK there is no debug API, nor has there been many (any?) requests for it.&lt;/P&gt;

&lt;P&gt;You get the debugger via Sybase Central; here's how, using Version 11:&lt;/P&gt;

&lt;P&gt;(1) Open Sybase Central and connect to a database. &lt;/P&gt;

&lt;P&gt;The "Mode" item will appear in the menu bar.&lt;/P&gt;

&lt;P&gt;(2) Click on Mode - Debug.&lt;/P&gt;

&lt;P&gt;The "Specify User to Debug" dialog box will appear.&lt;/P&gt;

&lt;P&gt;(3) Click OK.&lt;/P&gt;

&lt;P&gt;Three "Debugger Details" panes will appear.&lt;/P&gt;

&lt;P&gt;(4) Open the source for a procedure or trigger or whatever in the top right pane.&lt;/P&gt;

&lt;P&gt;(5) Right-mouse-click on the grey vertical bar to the left of a statement where you want to put a breakpoint... click on Insert Breakpoint.&lt;/P&gt;

&lt;P&gt;(6) Run your application, or commands in dbisql, etc., to cause the procedure to be called.&lt;/P&gt;

&lt;P&gt;(7) Switch back to Sybase Central... a yellow arrow will appear at the breakpoint.&lt;/P&gt;

&lt;P&gt;And so on...&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2010 11:03:14 GMT</pubDate>
    <dc:creator>Breck_Carter</dc:creator>
    <dc:date>2010-01-29T11:03:14Z</dc:date>
    <item>
      <title>Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaq-p/13817404</link>
      <description>&lt;P&gt;I see that a product claims to have a debugger for SQL Anywhere. How is this achieved? Is there a debug API for SQL Anywhere?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2010 23:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaq-p/13817404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-28T23:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817405#M4848248</link>
      <description>&lt;P&gt;SQL Anywhere has had a stored procedure and trigger debugger since Version 6 was released in 1998. AFAIK there is no debug API, nor has there been many (any?) requests for it.&lt;/P&gt;

&lt;P&gt;You get the debugger via Sybase Central; here's how, using Version 11:&lt;/P&gt;

&lt;P&gt;(1) Open Sybase Central and connect to a database. &lt;/P&gt;

&lt;P&gt;The "Mode" item will appear in the menu bar.&lt;/P&gt;

&lt;P&gt;(2) Click on Mode - Debug.&lt;/P&gt;

&lt;P&gt;The "Specify User to Debug" dialog box will appear.&lt;/P&gt;

&lt;P&gt;(3) Click OK.&lt;/P&gt;

&lt;P&gt;Three "Debugger Details" panes will appear.&lt;/P&gt;

&lt;P&gt;(4) Open the source for a procedure or trigger or whatever in the top right pane.&lt;/P&gt;

&lt;P&gt;(5) Right-mouse-click on the grey vertical bar to the left of a statement where you want to put a breakpoint... click on Insert Breakpoint.&lt;/P&gt;

&lt;P&gt;(6) Run your application, or commands in dbisql, etc., to cause the procedure to be called.&lt;/P&gt;

&lt;P&gt;(7) Switch back to Sybase Central... a yellow arrow will appear at the breakpoint.&lt;/P&gt;

&lt;P&gt;And so on...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2010 11:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817405#M4848248</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-01-29T11:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817406#M4848249</link>
      <description>&lt;P&gt;Just for curiosity - what product are you refering to (if not Sybase Central, as Breck has explained)?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2010 21:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817406#M4848249</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-01-29T21:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817407#M4848250</link>
      <description>&lt;P&gt;It's this company &lt;A href="http://www.upscene.com"&gt;www.upscene.com&lt;/A&gt;. There must be a way to code this if they were able to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2010 23:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817407#M4848250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T23:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817408#M4848251</link>
      <description>&lt;P&gt;So if I want to code this myself... how would I go about doing it? Are there procedures I can call?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2010 23:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817408#M4848251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-29T23:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817409#M4848252</link>
      <description>&lt;P&gt;Like I said, there's no published API, no procedures to call AFAIK. I'm not gonna suggest "reverse engineer" since I think the license agreement forbids that.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2010 08:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817409#M4848252</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-01-30T08:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817410#M4848253</link>
      <description>&lt;P&gt;Why don't you have a look at that other product, see if the debugger is as good as the one that comes in the box? Personally, I don't see the point in writing utilities like a debugger or an execution profiler when the vendor ships fully-functional versions in-the-box.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2010 08:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817410#M4848253</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-01-30T08:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API for SQL Anywhere</title>
      <link>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817411#M4848254</link>
      <description>&lt;P&gt;Of course, one could then ask "why Foxhound?" and the answer would be, "look at the one that comes in the box" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2010 08:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debug-api-for-sql-anywhere/qaa-p/13817411#M4848254</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-01-30T08:18:59Z</dc:date>
    </item>
  </channel>
</rss>

