devenv /debugexe "%IQDIR16%\bin32\iqsrv16.exe" [commandline options for your server]
Each platform will have a debugger and each will have their
own command line syntax. SAP Sybase IQ source code is
not required. The msvs debugger will recognize when the user-defined
functions source is executed and break at the set breakpoints. When control
returns from the user-defined functions to the server, you will only see
machine code.