Link to home
Start Free TrialLog in
Avatar of felipesch
felipesch

asked on

When I debug a simple procedure, the cursor dont stop in breakpoint!

I use a T-SQL Debugger, with a SQL server 2000, and I try to debug a simple procedure:

CREATE  procedure DebugA
(
    @IntIn int,
    @IntOut int OUTPUT
)
as

    Set @IntOut = @IntIn + 10

Return

GO

I insert breakpoints, but the cursor dont stop!

The sql-debugger only return "@RETURN_VALUE = 0"

Any idea?

Thanks.
Avatar of ill
ill
Flag of Slovakia image

-- Did you already run ?

EXEC sp_sdidebug 'legacy_on'
Avatar of felipesch
felipesch

ASKER

No way....

Still dont stop...

Tks for help.
are you aware, that @IntOut is not the same as @return_value ?
procedure can only return one integer return value. however, it can returns more parameters declared using OUTPUT keyword.
What happens, If you debug this SP in Query analyzer ?
ASKER CERTIFIED SOLUTION
Avatar of Aneesh
Aneesh
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial