logo       

Re: debugging: msg#00066

lang.boo.devel

Subject: Re: debugging

On 9/13/05, Clint Miller <clintmiller-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx>
wrote:
> Can anyone give some guidance on this scenario: I've embedded Boo as a
> scripting platform in an application. It is using the CompileToMemory
> pipeline (by design choice). I want to set a breakpoint (for now, I'm just
> inserting a call to System.Diagnostics.Debugger.Break()) and run the script.
> When I run the script, visual studio does stop at that point, however it
> doesn't have any sources for that point. I've confirmed that it is
> generating a PDB for my script file.
>
> Any suggestions? Thanks!
>

Apparently only .net 2.0 will have the capability of debugging in
memory assemblies.

Right now I think you would have to go the (already suggested) route
of emitting the assemblies to disk and loading the code with
Assembly.LoadFrom to get the debugger to break on your breakpoints.

Please, let us know of how this works (or not) for you.

--
bamboo
http://blogs.codehaus.org/people/bamboo/
Got objects? http://www.db4o.com/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise