April 12, 2018
2:31 p.m.
On 12 Apr 2018, at 16:10, Hilaire <hilaire@drgeo.eu> wrote:
Hi,
When an executed script throws an error, in the debugger the script lost its variable names and the code is not exactly the same.
Any idea why?
Hello, I changed the way code is compiled for #evaluate: to speed it up, but it turns out that having nice vars is actually more important than speed in most cases. I will change this again and just add it as an optional feature (you then can set an option if you need speed, but the default will be to keep the var names). For an intermediate fix, you can change in OpalCompiler>>#evaluate the send of #generate to #generateWithSource. Marcus