Profiling Gtk2HS applications

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Profiling Gtk2HS applications

Dmitry V'yal
Hello.

How can one profile a program which uses gtk2hs?
I get this:

$ ghc --make MainGui.hs -prof
Chasing modules from: MainGui.hs
Could not find module `Graphics.UI.Gtk.Mogul':
  use -v to see a list of the files searched for
  (imported from ./TreeViewHelpers.hs)

I tried to specify gtk2hs source path using -i option with no success.
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Profiling Gtk2HS applications

Duncan Coutts
On Wed, 2006-06-07 at 23:58 +0000, Dmitry V'yal wrote:
> Hello.
>
> How can one profile a program which uses gtk2hs?
> I get this:

At the moment the Gtk2Hs build system does not support building a
profiling version. This should change when the move to using Cabal,
however that may be some time. So at the moment you're out of luck.

You could file a feature request so that we don't forget:

http://hackage.haskell.org/trac/gtk2hs/newticket


Duncan

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe