Re: Dynamic debugging problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




<alexis.meilland@xxxxxxxxx> wrote in message
news:1181822344.618616.287200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

Well, I have a problem with a dynamic debuging.

My program is winform program written in Managed c++.

I compile dynamically a dll in vb.net. It works well. To execute a
function in my dll I use the invoke function. It works well.

Dynamic compilation isn't "in" any language. It uses opcodes directly.
Maybe you mean you generate source code and invoke the vb.net compiler
automatically? From the runtime's perspective, it is the same as if you
wrote the code in Visual Studio.


However, I would like, if there is a runtime error in my vb.net
execution, launch the debugger.

So I used in my vb.net code,

System.Diagnostics.Debugger.Launch()

When I invoke the method, I have a window, which asks me which debuger
I want to use.

I choose new instance of debug clr 2005

But the debuger opens and stop on method-> invoke and not in vb.net
code.

You didn't ask to stop!

Use Debugger.Break instead of Debugger.Launch.


How could I do to have a debuging of my code which have benn compiled
dynamically



.



Relevant Pages

  • Re: c++ delete operator parameters
    ... TypeConstructor,' why is it not allowed to deallocate by invoking ... invoke the destructor explicitly and invoke the static delete operator ... but I cannot get it to compile without some error. ... BTW, get rid of the parens; the "delete" keyword is not a function, it is ...
    (microsoft.public.vc.language)
  • Re: Intel announces 64-bit extensions
    ... AFAIK no, if your exe/dll is marked as 32bits, it can contain only 32bits ... code (it can be invoked from 32bits DLL, and you can invoke 64bits DLL, ... We would need at least a 64 bits capable linker to compile a 64 bits DLL ...
    (borland.public.delphi.language.basm)
  • Re: Microfocus Netexpress question : COBSQL vs openESQL
    ... > not yet solved to our liking. ... Occasionally code would not execute though ... compile using the Cobsql preprocessor (which would invoke Pro*COBOL under ...
    (comp.lang.cobol)
  • Re: Method.invoke() with one arg compiles despite method signature
    ... Object invoke(Object obj, Object... ... method called invoke. ... How then am I managing to compile and run the ...
    (comp.lang.java.programmer)
  • Re: Method.invoke() with one arg compiles despite method signature
    ... the following signature for invoke ... How then am I managing to compile and run the ... If omitted, the varargs argument ...
    (comp.lang.java.programmer)