Thanks for your help! @Nicolas, I'll do it that way 2017-05-10 17:15 GMT+02:00 Nicolas Cellier < nicolas.cellier.aka.nice@gmail.com>:
Hi Sophie, you could try and modify the plugins.int or plugins.ext files for various pharo distributions and do a pull request on github opensmalltalk-vm. Then let Esteban accept the request or not before the release of Pharo... (if the build are green, there's no reason to not accept it).
2017-05-10 15:39 GMT+02:00 Max Leske <maxleske@gmail.com>:
OK, I see.
On 10 May 2017, at 15:11, Clément Bera <bera.clement@gmail.com> wrote:
Hi Max,
She has already done that. The point is to add the plugins in the default Pharo VM, so everyone can use the VM profiler. We would like to have the VM profiler loadable through the Pharo catalog, but many people won't be able to use it if the default Pharo VM does not support it...
The plugin is lightweight, so I don't see why we can't have it.
Best,
On Wed, May 10, 2017 at 3:00 PM, Max Leske <maxleske@gmail.com> wrote:
Hi Sophie,
You will have to compile your own VM for the moment. It's fairly easy but you might run into problems when including the extra plugin. To build the VM, follow the instructions on https://github.com/OpenSmal ltalk/opensmalltalk-vm and read the README and HOWTO files. Simple build example:
cd ~/git/opensmalltalk-vm/build.macos32x86/pharo.cog.spur/ && ./mvm -d
will build a debug VM. You'll have to modify one of the "plugins.*" files to include the plugin.
HTH, Max
On 10 May 2017, at 14:36, Sophie Kaleba <sophie.kaleba@gmail.com> wrote:
Hi Esteban, Hi all,
I am working on porting the Squeak VMProfiler to Pharo as a gsoc (I will post a more detailed presentation about that in the mailing list later today).
While trying to use the profiler with the Pharo VM, I get the following error : "PrimitiveFailed : primitive #primitiveExecutableModules in VMProfilerLinuxSymbolsManager failed". (see stack trace attached).
This plugin (VMProfileLinuxSupportPlugin) does not seem to be included by default in the Pharo VM (it works with a Squeak VM). I haven't tried on a mac, but I guess the plugin (VMProfileMacSupportPlugin) is missing too.
For the moment, I am using the latest Squeak VM with my Pharo image but it is not quite convenient. Would it be possible to include the 2 plugins to the Pharo VM ?
If I can be of any help, just tell me Thanks!
Sophie
<PrimitiveFailed.jpg>