dbTalk Databases Forums  

Sybase client for debugging stored procedures

comp.databases.sybase comp.databases.sybase


Discuss Sybase client for debugging stored procedures in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Krzysztof Adamczyk
 
Posts: n/a

Default Sybase client for debugging stored procedures - 02-19-2009 , 07:21 AM






Hi all,

I'm looking for some Sybase database client app, that can help me
debugging stored procedures on remote server.

Any suggestions? (Preferably kind of Eclipse plugin?

Regards,
Chris A.

Reply With Quote
  #2  
Old   
David Kerber
 
Posts: n/a

Default Re: Sybase client for debugging stored procedures - 02-19-2009 , 08:05 AM






In article <gnjmub$t1m$1 (AT) nemesis (DOT) news.neostrada.pl>,
krzysztof_DOT_adamczyk (AT) gmail_CUT_ (DOT) com says...
Quote:
Hi all,

I'm looking for some Sybase database client app, that can help me
debugging stored procedures on remote server.

Any suggestions? (Preferably kind of Eclipse plugin?
Which sybase database are you using?



--
/~\ The ASCII
\ / Ribbon Campaign
X Against HTML
/ \ Email!

Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).



Reply With Quote
  #3  
Old   
Krzysztof Adamczyk
 
Posts: n/a

Default Re: Sybase client for debugging stored procedures - 02-19-2009 , 08:19 AM



David Kerber wrote:
Quote:
Which sybase database are you using?

It's Sybase ASE.

Regards,
Chris


Reply With Quote
  #4  
Old   
mpeppler@peppler.org
 
Posts: n/a

Default Re: Sybase client for debugging stored procedures - 02-19-2009 , 08:21 AM



On Feb 19, 2:21*pm, Krzysztof Adamczyk
<krzysztof_DOT_adamczyk (AT) gmail_CUT_ (DOT) com> wrote:
Quote:
Hi all,

I'm looking for some Sybase database client app, that can help me
debugging stored procedures on remote server.

Any suggestions? (Preferably kind of Eclipse plugin?

Regards,
Chris A.
I assume you mean ASE.

Sybase Workspace can do this. I believe that Aqua Data Studio also
works.

SQL Browser (www.sqlbrowser.com) takes a slightly different approach
(parses the SQL proc code, then runs it as an interpreter executing
each statement in turn). This is something that is actually very
efficient, and it's the tool that I use for SQL development.

Michael


Reply With Quote
  #5  
Old   
SybaseNeal
 
Posts: n/a

Default Re: Sybase client for debugging stored procedures - 02-19-2009 , 10:50 AM



Hello,

In addition to Sybase Workspace, there is a small command line
debugger
that is shipped with ASE 12.5.x and 15.0.x in $SYBASE/$SYBASE_ASE/bin:

http://infocenter.sybase.com/help/to...utility216.htm

nstack-sun% pwd
/software/ase1502/ASE-15_0/bin

nstack-sun% sqldbgr -U tester -P tester1 -S nstack-sun:5502
$SYBASE_JRE is set. Use $SYBASE_JRE as $JAVA_HOME.
(sqldbg) help

(attach, detach, sql, mysql, cont, stop, step, next, run, show, set,
disable, enable, quit, exit, help all)
(sqldbg) help sql
sql <sql stmt>
(Run the sql statement inside the debugger.
Useful for getting temp table info of the debugged task)
(sqldbg) help stop
stop in <procname> (Stop in beginning of a procedure)
stop in <procname> at <line#>
(Stop at a valid line number in the procedure.
Automatically moves the breakpoint to the next valid line)

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.