Performance Profiler - A first attempt

Page 7/7
1 | 2 | 3 | 4 | 5 | 6 |

By Manuel

Ascended (16158)

Manuel's picture

23-03-2020, 17:16

You can just use the installer as published on https://openmsx.dev/ e.g. https://openmsx.dev/builds/windows/x64/
That's a full installer, no need to do any manual copying. Only copy your own custom Tcl files.

By salutte

Resident (38)

salutte's picture

02-04-2020, 23:08

What a Rabbit's hole...

The renewed profiler should be pretty much functional, but the GUI is growing an order of magnitude larger. I'm learning a lot of TCL, but now that the project is so big I'm spending too much time debugging.

It is possible to know at which line/file do errors occurr, specially on boot? It would speed up my current workflow quite a bit.

By Manuel

Ascended (16158)

Manuel's picture

02-04-2020, 23:27

Try set $errorInfo

By salutte

Resident (38)

salutte's picture

03-04-2020, 07:16

Yup, the problem was that the error happened during boot, and OpenMSX launch aborted, thus I had no access to the console. But loading the profiler scrip within a catch , and inspecting $errorInfo afterwards, solved the issue.

Thanks!

Page 7/7
1 | 2 | 3 | 4 | 5 | 6 |