Re: Single statement execution
From: Jay B. Harlow [MVP - Outlook] (Jay_Harlow_MVP_at_msn.com)
Date: 08/24/04
- Next message: Sorawit Sharp: "Re: Single statement execution"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Is OwnerDraw possible with NotifyIcon"
- In reply to: Sorawit Sharp: "Re: Single statement execution"
- Next in thread: mikeb: "Re: Single statement execution"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Aug 2004 09:18:41 -0500
Sorawit,
It sounds like you may want to use VSA, unfortunately last I heard VSA was
discontinued and I have not heard of a replacement. VSA = Visual Studio for
Applications.
I'm not sure if VSIP http://msdn.microsoft.com/vstudio/extend/ offers
anything usable for you. As VSIP is more about integrating your code into VS
instead of integrating VS into your app.
I thought MSDN Magazine had an article on using the debugging & profileing
COM based APIs for .NET, however I'm not seeing anything obvious right now.
Hope this helps
Jay
"Sorawit Sharp" <sorawit_sharp@hotmail.com> wrote in message
news:OLzV%236diEHA.1644@tk2msftngp13.phx.gbl...
> My problem description was inaccurate: The user of the app sees something
> similar like scripts.
> More precisely I'm talking about pieces of C# sharp code which the app
> compiles and executes:
>
> using System.CodeDom.Compiler;
>
> ICodeCompiler theCompiler = new
> Microsoft.CSharp.CSharpCodeProvider().CreateCompiler();
> CompilerResults theResults =
> theCompiler.CompileAssemblyFromSource(theCompilerParms, theSourceCode);
> :
> Assembly theAssembly = theResults.CompiledAssembly();
> MethodInfo theMethodInfo = theAssembly.EntryPoint;
> theMethodInfo.Invoke(null, theInvokeParms);
>
> The Invoke() method executes this 'user script'. What I'm looking for is a
> way to execute this code statement by statement.
>
> Thanks for your response.
>
> "Sorawit Sharp" <sorawit_sharp@hotmail.com> wrote in message
> news:OD7U9ddiEHA.3016@tk2msftngp13.phx.gbl...
> > My app executes C# user scripts via dynamic code execution.
> > Is it possible to execute the scripts single step wise like a debugger
?
> >
> >
> >
>
>
- Next message: Sorawit Sharp: "Re: Single statement execution"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Is OwnerDraw possible with NotifyIcon"
- In reply to: Sorawit Sharp: "Re: Single statement execution"
- Next in thread: mikeb: "Re: Single statement execution"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|