Hi, I'm having problems with the debugger. Every time I try to debug code
that uses FFI, if I step over a message that internally does an FFI call, I
get an externalCallFailed error and then I land in
MethodContext(ContextPart)>>runUntilErrorOrReturnFrom:
If I run the code without debugging, then I have no problems at all.

I'm using SqueakPharo v3.11.2 with pharo0.1-10373web09.07.2.

To reproduce it you can try this:

ScriptLoader loadFFI.
then load latest GLMorphic from squeaksource, and uncomment the "self
break." in
GLCanvas>>displayString:from:to:at:strikeFont:kern:

doit
World fullDrawOn: GLDisplayScreen testCanvas
hit debug and step over until you reach
ogl glTexImage2D: GLTexture2d with:...

also you'll see wrong values for local vars, like aPoint which will look as
#(nil nil nil nil nil) when it'll actually have a point.

Is there any other way to set up a break point instead of adding self break
to the code??

Thanks,
       Javier.

-- 
Javier Pimás
Ciudad de Buenos Aires
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to