Re: [Mono-dev] mono.simd

2010-08-25 Thread Rodrigo Kumpera
a

On Mon, Aug 23, 2010 at 7:01 PM, Robert Jordan  wrote:

> On 23.08.2010 23:13, Rodrigo Kumpera wrote:
> >
> > I think it's easier to catch the security exception under MS since its
> > accell mode is None anyway.
> >
>
> I had to move icall's call site outside the .cctor and mark
> the call site's method as non-inlineable to make this work.
> Thanks for the hint.
>
>
> http://github.com/robert-j/mono/commit/0450be20f52c64e2788287400fe1eb9ff9be6817
>
> Robert
>

Patch looks good. Please just state the license it's under and you can
commit it.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] mono.simd

2010-08-25 Thread Jerry Maine - KF5ADY
Well, I tried to make find a place would have system properties store 
where a key like "mono.simd.accel" could be used to get back the 
available acceleration capabilities. It could make the code a bit 
cleaner with not making a internal method call inside the Mono.Simd 
assembly.

Any ideas where that could be?


On 08/23/2010 05:01 PM, Robert Jordan wrote:
> On 23.08.2010 23:13, Rodrigo Kumpera wrote:
>
>> I think it's easier to catch the security exception under MS since its
>> accell mode is None anyway.
>>
>>  
> I had to move icall's call site outside the .cctor and mark
> the call site's method as non-inlineable to make this work.
> Thanks for the hint.
>
> http://github.com/robert-j/mono/commit/0450be20f52c64e2788287400fe1eb9ff9be6817
>
> Robert
>
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Cannot get UrlRewriter.net to work with Mono 2.6.7

2010-08-25 Thread Gonzalo Paniagua Javier
On Mon, 2010-08-23 at 19:02 -0700, Matthew Urbano wrote:
> I'm trying to rewrite some URLs using Intelligencia.UrlRewriter.dll
> from UrlRewriter.net.  I have added the reference to the dll, placed
> the dll in the site's bin folder, and added the following lines to my
> web.config
[...] 
> 
> Am I missing something on my remote server?  I really don't know what
> I need to do in order to get this working.

I don't remember the details, but either you have to pass *all* the
requests to mod_mono (use SetHandler instead of AddHandler) or, worst
case, use apache's mod_rewrite and convert all your
... rules.

-Gonzalo



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] debug embedded mono

2010-08-25 Thread Lucas Meijer
  On 8/25/10 10:59 PM, Michael Hutchinson wrote:
> >  I tried to create a dummy start up C sharp project and call my C sharp 
> > code from there. The mono debugger works for the C sharp code, but it does 
> > not find the C++ functions that are called from within C sharp. 
> > MethodNotImplemented exception is thrown.
> >
> >  The mono debugger does not work on C++ and regular debugger cannot access 
> > to the Mono code in C sharp.
> >
> >  So, any information on how to do it?
I often just use MonoDevelop to debug the c# parts, and simultanously 
attach xcode/visualstudio/gdb to the process to debug the c++ part.

You can also use XDebug ( http://www.mono-project.com/Debugging ), if 
you use gdb on linux, to make gdb smarter about the c# parts. it won't be
as good as the monodevelop softdebugger, but at least you get to see the 
names of the managed methods on the stack.

Bye, Lucas

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] debug embedded mono

2010-08-25 Thread Michael Hutchinson
On Fri, Aug 6, 2010 at 9:54 AM, marcus julius  wrote:
> I have a C++ application that uses C sharp classes which also use C++ 
> functions. Thus, both C++ and C sharp call each other, but main project that 
> I run is C++. The question is how to debug this project?
>
> I tried to create a dummy start up C sharp project and call my C sharp code 
> from there. The mono debugger works for the C sharp code, but it does not 
> find the C++ functions that are called from within C sharp. 
> MethodNotImplemented exception is thrown.
>
> The mono debugger does not work on C++ and regular debugger cannot access to 
> the Mono code in C sharp.
>
> So, any information on how to do it?

It's not possible to do "mixed-mode" debugging with Mono, i.e debug C#
and C++ simultaneously. However, you can debug C# code within an
embedding host. To do so, the host must initialize the Mono Soft
Debugger. This causes the debugger in the Mono runtime to make a TCP
connection to an IDE. You can create a simple addin in MonoDevelop to
cause it to listen for a debuggee and start a debugging session.

For some examples, check the mono-osx list archives.

--
Michael Hutchinson
http://mjhutchinson.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Prism/MVVM Support

2010-08-25 Thread Rafael Teixeira
Prism normally tackles in some support libraries, and possibly those
the root cause of the problem.
Can you try to run MoMA on all assemblies packed in your SL packaged
app, to pinpoint specific problems?

Thanks,

Rafael "Monoman" Teixeira
---
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan



On Mon, Aug 16, 2010 at 11:11 PM, minnesotaj  wrote:
>
> List,
>
> I looked, and there doesn't seem to be much discussion about support for
> MVVM/Prism here.
>
> Our team has an SL3 app (using Prism) and it won't even render in Moonlight
> (nor would our older version, written in SL2).
>
> Is Prism/MVVM a known issue with Moonlight?
>
> Thanks in advance,
>
> Joel Hernandez
> --
> View this message in context: 
> http://mono.1490590.n4.nabble.com/Prism-MVVM-Support-tp2327699p2327699.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] invalid ELF header

2010-08-25 Thread Rafael Teixeira
Seems like that is a native windows library, you won't be able to make
it work in Linux.
You may try to compile it for Linux, if you have the sources, but it
may be 'real' hard to accomplish that.


Rafael "Monoman" Teixeira
---
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan



On Thu, Aug 12, 2010 at 8:13 AM, mikle  wrote:
>
> Hello everyone. Sorry for my English, but i need your help on this one.
>
> First if all i got this error -
> Unhandled Exception: System.TypeInitializationException: An exception was
> thrown by the type initializer for VoIPPhoneCS.Phone --->
> System.DllNotFoundException: VoIPPhone.dll
>
> Actually Voipphone.dll is in the same folder,from what i am launching my
> exe. But mono searched for file libVoIPPhone.dll in /usr/lib/, so i copied
> my VoIPPhone.dll to /usr/lib and renamed it to libVoIPPhone.dll and now a
> get this error -
>
> : Mono-WARNING **: DllImport unable to load library '/lib/libVoIPPhone.dll:
> invalid ELF header'.
> Mono-INFO: DllImport attempting to load: 'VoIPPhone.dll'.
> Mono-INFO: DllImport loading location: 'libVoIPPhone.dll.so'.
> Mono-INFO: DllImport error loading library: '/usr/lib/libVoIPPhone.dll.so:
> invalid ELF header'.
> Mono-INFO: DllImport loading library: './libVoIPPhone.dll.so'.
> Mono-INFO: DllImport error loading library './libVoIPPhone.dll.so: cannot
> open shared object file: No such file or directory'.
> Mono-INFO: DllImport loading: 'VoIPPhone.dll'.
> Mono-INFO: DllImport error loading library '/usr/lib/VoIPPhone.dll: invalid
> ELF header'.
> Mono-INFO: DllImport loading location: 'libVoIPPhone.so'.
> Mono-INFO: DllImport error loading library: 'libVoIPPhone.so: cannot open
> shared object file: No such file or directory'.
> Mono-INFO: DllImport loading library: './libVoIPPhone.so'.
> Mono-INFO: DllImport error loading library './libVoIPPhone.so: cannot open
> shared object file: No such file or directory'.
>
>
> Hope to get some help. THX!
> --
> View this message in context: 
> http://mono.1490590.n4.nabble.com/invalid-ELF-header-tp2322558p2322558.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Read file under Linux?

2010-08-25 Thread Rafael Teixeira
Besides what Alex said you need a way to find the file.

You may try to use Assembly.Codebase with Assembly.GetEntryAssembly()
to first locate where your executable is, then use
System.Io.Path.Combine() to compose the full path to your properties
file.

http://msdn.microsoft.com/en-us/library/system.reflection.assembly.getentryassembly.aspx
http://msdn.microsoft.com/en-us/library/system.reflection.assembly.codebase.aspx
http://msdn.microsoft.com/en-us/library/system.io.path.combine.aspx

Fun,

Rafael "Monoman" Teixeira
---
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan



On Thu, Aug 5, 2010 at 2:39 PM, SamHellawell  wrote:
>
> Hey there!
>
> Basically, my C# project works perfectly well under Windows, and after
> sorting out some GAC problems it *almost* works on Linux. I am stump however
> as to how to open and read a file under Linux using Mono, i have tried
> entering Linux paths and local paths. The file I wish to read is within the
> same directly as the binary. If anybody could help me out, i'd greatly
> appreciate it. The file i wish to load is called example.properties
>
> My load function:
>
>        public Boolean Load(string filename)
>        {
>            try
>            {
>                FileStream file = File.Open(filename, FileMode.Open);
>
>                UTF8Encoding temp = new UTF8Encoding(true);
>                string fileContents = "";
>
>                byte[] b = new byte[1024];
>                while (file.Read(b, 0, b.Length) > 0)
>                {
>                    fileContents += temp.GetString(b);
>                }
>
>                    string[] lineSplit = fileContents.Split((char)10);
>
>                    for(int i = 0; i < lineSplit.Length; i++)
>                    {
>                        props.Add(lineSplit[i].Split('=')[0],
> lineSplit[i].Split('=')[1]);
>                    }
>
>                return true;
>            }
>            catch
>            {
>                Console.WriteLine("Unable to load properties file: " +
> filename);
>                return false;
>            }
>        }
>
>
> Cheers, Sam.
> --
> View this message in context: 
> http://mono.1490590.n4.nabble.com/Read-file-under-Linux-tp2315366p2315366.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Read file under Linux?

2010-08-25 Thread Alexander Shulgin
On 05.08.2010 20:39, SamHellawell wrote:
>
> Hey there!
>
> Basically, my C# project works perfectly well under Windows, and after
> sorting out some GAC problems it *almost* works on Linux. I am stump however
> as to how to open and read a file under Linux using Mono, i have tried
> entering Linux paths and local paths. The file I wish to read is within the
> same directly as the binary. If anybody could help me out, i'd greatly
> appreciate it. The file i wish to load is called example.properties

Posting the exact exception/error log you get would help greatly to 
identify the problem.

> My load function:
>
>  public Boolean Load(string filename)
>  {
>  try
>  {
>  FileStream file = File.Open(filename, FileMode.Open);
>
>  UTF8Encoding temp = new UTF8Encoding(true);
>  string fileContents = "";
>
>  byte[] b = new byte[1024];
>  while (file.Read(b, 0, b.Length)>  0)
>  {
>  fileContents += temp.GetString(b);
>  }
>
>  string[] lineSplit = fileContents.Split((char)10);
>
>  for(int i = 0; i<  lineSplit.Length; i++)
>  {
>  props.Add(lineSplit[i].Split('=')[0],
> lineSplit[i].Split('=')[1]);
>  }

There's also File.ReadAllLines() method which does what you're trying to 
accomplish.

--
Alex
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono on the command line

2010-08-25 Thread Bojan Rajkovic
  On 08/17/2010 05:47 AM, KAD wrote:
> Hi all
>
> Does anybody know how to run an aspx page from the command line similar to
> how you can run a php file by just typing "php somepage.php"? I'm guessing
> it's something like "MONO somepage.aspx" but have had no luck so far.
>
>
You can't do so at all--.aspx pages require the ASP.NET infrastructure 
behind them, they're not just interpreted by the runtime. You can 
however fire up xsp in the directory and navigate to 
http://localhost:8080/somepage.aspx and test that way.

Cheers,
Bojan
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono on the command line

2010-08-25 Thread KAD

Hi all

Does anybody know how to run an aspx page from the command line similar to
how you can run a php file by just typing "php somepage.php"? I'm guessing
it's something like "MONO somepage.aspx" but have had no luck so far.


-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-on-the-command-line-tp2328026p2328026.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Prism/MVVM Support

2010-08-25 Thread minnesotaj

List,

I looked, and there doesn't seem to be much discussion about support for
MVVM/Prism here. 

Our team has an SL3 app (using Prism) and it won't even render in Moonlight
(nor would our older version, written in SL2).

Is Prism/MVVM a known issue with Moonlight?

Thanks in advance,

Joel Hernandez
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Prism-MVVM-Support-tp2327699p2327699.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Problem authenticating at ssl atom feed

2010-08-25 Thread alexware69

Hi, I am trying to connect to google's gmail atom feed in order to get
unread(new) emails. I have no problems connecting in Windows, but when I try
to do it in linux with mono I get the following error: 
Error getting response stream (Write: The authentication or decryption has
failed.): SendFailure 
>From what I have read in other forums the problem might be that mono is not
recognizing the server's ssl certificate. Here is my code: 

protected virtual void OnButton3Clicked (object sender, System.EventArgs e) 
{ 

System.Net.WebClient objClient = new System.Net.WebClient(); 

try 
{ 
   objClient.Credentials = new
System.Net.NetworkCredential("myuser","mypassword"); 

   response =  
Encoding.UTF8.GetString(objClient.DownloadData("https://mail.google.com/mail/feed/atom";));
 
} 
catch (Exception ex) 
{ 

}
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Problem-authenticating-at-ssl-atom-feed-tp2327564p2327564.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Arm9 NS9215 floating point troubles

2010-08-25 Thread jaekim

I'm having a similar problem.  I'm using a Freescale mc9328mxs processor that
doesn't have hardware floating point.  I've tried Trevor's C# test code and
the console outputs incorrect floating point values.  I have also tried
Trevor's hack to method-to-ir.c and it doesn't help for me. 

Example:
Console.WriteLine("0.0f literal is " + 0.0f);
Console.WriteLine("1.0f literal is " + 1.0f);
Console.WriteLine("12.3f literal is " + 12.3f);
Console.WriteLine("32f literal is " + 32f);
Console.WriteLine("1024f literal is " + 1024f);
Console.WriteLine("32768f literal is " + 32768f);

Also when the application exits main(), I get an exception.

Unhandled Exception: System.TypeInitializationException: An exception was
thrown
 by the type initializer for System.Runtime.Remoting.Contexts.Context --->
Syste
m.ArgumentOutOfRangeException: load factor
Parameter name: loadFactor
  at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor,
IHas
hCodeProvider hcp, IComparer comparer) [0x0]
  at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor)
[0x0
]
  at System.Collections.Hashtable..ctor () [0x0]
  at System.Runtime.Remoting.Contexts.Context..cctor () [0x0]

I've spent days trying to figure this out.  Any help is appreciated.

Thanks.
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Arm9-NS9215-floating-point-troubles-tp2259090p2324899.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] invalid ELF header

2010-08-25 Thread mikle

Hello everyone. Sorry for my English, but i need your help on this one.

First if all i got this error - 
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for VoIPPhoneCS.Phone --->
System.DllNotFoundException: VoIPPhone.dll

Actually Voipphone.dll is in the same folder,from what i am launching my
exe. But mono searched for file libVoIPPhone.dll in /usr/lib/, so i copied
my VoIPPhone.dll to /usr/lib and renamed it to libVoIPPhone.dll and now a
get this error - 

: Mono-WARNING **: DllImport unable to load library '/lib/libVoIPPhone.dll:
invalid ELF header'.
Mono-INFO: DllImport attempting to load: 'VoIPPhone.dll'.
Mono-INFO: DllImport loading location: 'libVoIPPhone.dll.so'.
Mono-INFO: DllImport error loading library: '/usr/lib/libVoIPPhone.dll.so:
invalid ELF header'.
Mono-INFO: DllImport loading library: './libVoIPPhone.dll.so'.
Mono-INFO: DllImport error loading library './libVoIPPhone.dll.so: cannot
open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'VoIPPhone.dll'.
Mono-INFO: DllImport error loading library '/usr/lib/VoIPPhone.dll: invalid
ELF header'.
Mono-INFO: DllImport loading location: 'libVoIPPhone.so'.
Mono-INFO: DllImport error loading library: 'libVoIPPhone.so: cannot open
shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libVoIPPhone.so'.
Mono-INFO: DllImport error loading library './libVoIPPhone.so: cannot open
shared object file: No such file or directory'.


Hope to get some help. THX!
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/invalid-ELF-header-tp2322558p2322558.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] debug embedded mono

2010-08-25 Thread marcus julius
Hi,

I have a C++ application that uses C sharp classes which also use C++ 
functions. Thus, both C++ and C sharp call each other, but main project that I 
run is C++. The question is how to debug this project?

I tried to create a dummy start up C sharp project and call my C sharp code 
from there. The mono debugger works for the C sharp code, but it does not find 
the C++ functions that are called from within C sharp. MethodNotImplemented 
exception is thrown. 

The mono debugger does not work on C++ and regular debugger cannot access to 
the Mono code in C sharp.

So, any information on how to do it? 

Sorry if it is confusing and thanks for your help.


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Read file under Linux?

2010-08-25 Thread SamHellawell

Hey there!

Basically, my C# project works perfectly well under Windows, and after
sorting out some GAC problems it *almost* works on Linux. I am stump however
as to how to open and read a file under Linux using Mono, i have tried
entering Linux paths and local paths. The file I wish to read is within the
same directly as the binary. If anybody could help me out, i'd greatly
appreciate it. The file i wish to load is called example.properties

My load function:

public Boolean Load(string filename)
{
try
{
FileStream file = File.Open(filename, FileMode.Open);

UTF8Encoding temp = new UTF8Encoding(true);
string fileContents = "";

byte[] b = new byte[1024];
while (file.Read(b, 0, b.Length) > 0)
{
fileContents += temp.GetString(b);
}

string[] lineSplit = fileContents.Split((char)10);

for(int i = 0; i < lineSplit.Length; i++)
{
props.Add(lineSplit[i].Split('=')[0],
lineSplit[i].Split('=')[1]);
}

return true;
}
catch
{
Console.WriteLine("Unable to load properties file: " +
filename);
return false;
}
}


Cheers, Sam.
-- 
View this message in context: 
http://mono.1490590.n4.nabble.com/Read-file-under-Linux-tp2315366p2315366.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Getting Started with Mono

2010-08-25 Thread Vincent Serpico
I have a .NET 3.5 WinForms C# application, that also has embedded Flex.
(www.flypaper.com)

 

I have begun R&D on porting to Mono. I am looking for:

 

1.   Other developers' experience porting a WinForms app to MAC
using Mono. Please tell me what your experience was when you ported a
WinForms app to Mono and deployed on the MAC.

2.   Experienced developers to act as a consultant for me (please
describe your Mono experience)

 

Vincent Serpico

 

Vincent Serpico

VP, Development

c 602 490 0716

t 602 801 2208 x1701

f 602 801 3199

e vserp...@flypaper.com  

 

Flypaper Studio, Inc.

The Leading Flash Content Management Platform

PO Box 15605

Phoenix, AZ 85060

www.flypaper.com

 

Flypaper Studio, Inc. is the leading Flash Content Management Platform
that empowers programmers and non-programmers alike to create, edit,
share, track and reuse high-impact Flash content. The Flypaper platform
enables the rapid development of Flash applications and allows anyone to
edit and manipulate components without touching programming code.
Through an API that converts Flash elements into the Flypaper Platform,
Flash Programmers can create components, which can be edited and reused.
Output from the application rivals the interactivity and quality of
custom Flash development, but in a fraction of time and cost typically
associated with such projects. For more information, visit
www.flypaper.com  .

 

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] mono_profiler_load

2010-08-25 Thread Duane Wandless
I have an embedded Mono app in my OSX application, which I invoke with:
mono_jit_exec (domain, monoAssembly, 1, argv).

I tried calling mono_jit_parse_options, passing "--profile=heap-shot", but
received:
Unsupported command line option

I then tried just calling mono_profiler_load.  But that did not work either.

Should I be able to run a profiler from an embedded app?

Thanks,
Duane
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list