problem with nb_setarg

View: New views
2 Messages — Rating Filter:   Alert me  

problem with nb_setarg

by Ingo Thon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm using an nb_setarg and from time to time it doesn't give the  
expected result
sometimes* it does
           (9)    call:nb_setarg(2,step(ln26,[r(b)]),[c,r(b)]) ?
           (9)    exit:nb_setarg(2,step(ln26,[r(b)]),[c,r(b)]) ?
and sometimes :
           (9)    call:nb_setarg(2,step(ln1,[r(b)]),[c,r(b)]) ?
           (9)    exit:nb_setarg(2,step(ln1,[c,r(b)]),[c,r(b)]) ?

*sometimes means here that this code is run multiple times in an
kind of "for loop" and always at the 26 position it gives the wrong
result :/ maybe repeating with higher number of runs.

Cheers Ingo


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: problem with nb_setarg

by Vitor Santos Costa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ingo

That might be a problem in the debugger, and not in the actual code. I
hope it is, at least. Can you send me a script that shows this fault?

On Mon, Dec 1, 2008 at 8:44 AM, Ingo Thon <isthon@...> wrote:

> Hi,
>
> I'm using an nb_setarg and from time to time it doesn't give the
> expected result
> sometimes* it does
>           (9)    call:nb_setarg(2,step(ln26,[r(b)]),[c,r(b)]) ?
>           (9)    exit:nb_setarg(2,step(ln26,[r(b)]),[c,r(b)]) ?
> and sometimes :
>           (9)    call:nb_setarg(2,step(ln1,[r(b)]),[c,r(b)]) ?
>           (9)    exit:nb_setarg(2,step(ln1,[c,r(b)]),[c,r(b)]) ?
>
> *sometimes means here that this code is run multiple times in an
> kind of "for loop" and always at the 26 position it gives the wrong
> result :/ maybe repeating with higher number of runs.
>
> Cheers Ingo
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Yap-users mailing list
> Yap-users@...
> https://lists.sourceforge.net/lists/listinfo/yap-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users