How to debug stored procedures in Sybase ASE?

13,861

Sybase ASE comes with a command line debugger called sqldbgr. Not the most user friendly option, but it does work. You can find documentation for this in the Utility Guide.

Alternatively Embarcadero produces a SQL debugger.

Share:
13,861
Mike Thompson
Author by

Mike Thompson

Updated on June 12, 2022

Comments

  • Mike Thompson
    Mike Thompson almost 2 years

    Is there a good tool from either Sybase or elsewhere that will enable me to debug stored procedures in Sybase ASE? I need to be able to set breakpoints & watchpoints.

    Previously, in Sybase ASA (not ASE), I used Sybase Central to do this. There is a plugin for ASE, but I doubt it will let me debug procedures.

  • CharlieBuckeroo
    CharlieBuckeroo over 14 years
    Apologies. Debugger in Oracle SQL Developer works only for Oracle PL/SQL, not Sybase.
  • B Johnson
    B Johnson almost 14 years
    The above link to the Embarcadero site is now broken.
  • sofs1
    sofs1 over 8 years
    Update this in the answer as PS: . I wasted some time by not reading the above comment. Thanks though.
  • eric
    eric about 7 years
    Also Aqua Data Studio from Aqua Fold has SQL debuggers for Sybase ASE and others
  • Amit Joshi
    Amit Joshi over 5 years
    hello kindly update "SQL debugger." link. above one is expired.
  • M Barzel
    M Barzel over 3 years
    Is there option in aqua data studio to run queries during debugging, and using temp tables and variables?
  • eric
    eric over 2 years
    yes! during a breakpoint you can run queries using the same connection/spid