locks and valentina studio

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 14 11:42:12 CST 2007


On 14/11/07 1:25 PM, "Danny Lewkin" <daniel.lewkin at cognosis.be> wrote:

Hi Danny,
 
>> So HOW YOU GET locked records ?????
>  
> 
> If I'm debugging, en the debugger stops on a breakpoint after a cursor with
> locks, the record is still locked of course, because the program is 'on hold'
> (debugging). The line of code where I set MyCursor = Nil is a few lines
> further... But in meantime, I want to see the records of a cursor, but I
> can't...

I see, your app is alive and your cursor is alive.

> So I can step through the program, but I can not see wat the fieldvalues in a
> cursor are...
> 
> For example :
> 
> I set a breakpoint AFTER a line of code like this :
> 
> MyCursor = new VCursor(strQuery, MyDB, EVCursorLocation.kServerSide,
> EVLockType.kReadWrite, EVCursorDirection.kRandom)
> (to make an update of that record)
> 
> Now would it be very great, if on the right part of the RB debug screen (where
> the variables are visible), I could see something like this :


> This is the contents for a listbox, when I'm on a breakpoint. You can see all
> columns and rows, so each cell, and you can see the contents of it...
> If this would be possible for cursor too, that would be really great.
> So a column would be a field, and a row would be a record...
> But I can imabine that this would be impossible, or very much work to do so...

I think we cannot plug Vcursor into Debugger of RB.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list