Re: debug dll in my device;

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

From: fabbrit (t.fabbri_at_elconelettronica.it)
Date: 09/02/04


Date: Thu, 2 Sep 2004 09:49:07 -0700

Thank you Paul for answering.

I don't need to debug my *manage code*.
C# application is debuggable by visual studio and working perfectly
Application c# made is in release format and already distributed in the ce
device.
By project setting in embedded c++ IDE, I specified to lunch, I got
path\name.exe of my * manage code * relesaed application, this programm where
are used my win32 dll. Now I running in debug mode the win32 dll in evc++
IDE: the * manage code * application start regular but evc++ IDE freeze, my
break point don't work. In the same time if you try to use the * manage code
* application in the device is working perfectly: No debugging effetcts
appears.

thanks, fabbrit
"Paul G. Tobey [eMVP]" wrote:

> I think that the problem is trying to debug a *managed code* application
> with eVC so that you can debug the DLL. I've never been able to get this to
> work. If you are really building a real-time system, you need to be very
> careful about using managed code, anyway. It would be best to write a C/C++
> program to at least test and debug your DLL, and then, if you still want to
> use managed code, switch back to that once you've verified the DLL.
>
> Paul T.
>
> "fabbrit" <t.fabbri@elconelettronica.it> wrote in message
> news:EAA45383-EE7D-489A-91E3-CEA0E77FB555@microsoft.com...
> > Hello guys,
> >
> > I have a wince4.2 device based on x86, geode processor. On my desktop is
> > installed evc++ 4.0 SP4 and visual studio 2003, Sdk of this device is
> > loaded
> > and used. Project is an industrial application, real time tested and made
> > a
> > dll to manage this: we are forced to use evc++ to catch interrupts on bus
> > PC104 (if you have visual studio soluction let me know !!!). Debugging and
> > distribution communication from/to visual studio is Lan wired
> > (SDAuthentucation utility) and running very good.
> > Debugging and distribution to device under evc++ is through ActiveSync and
> > I
> > can choose or serial cable o Lan wired: Distribution and debugging of file
> > exe is good, problems are debugging DLL, I made only win32 utilities and
> > use
> > these by wrappering classes in visual studio.
> > My dll debug procedure is that: my application in visual studio, very
> > small
> > until now, is regenerated in release format and distribuited to the
> > device,
> > my dll is in debug format and under settings menu I specify the exe file
> > to
> > use under debugging, vs application. Start debug under evc++, my
> > apllication
> > start, evc++ makes some connection, cemon.exe is downloaded first time,
> > and
> > ... freeze. Vs application continuing to run, my breakpoints don't work,
> > and
> > if I esc from VS application evc++ un-freeze and indicates NO error.
> > I tried with a small dll, dll wizard and try to read one return from a
> > function, same thing !!
> > Information from communities said that is impossible to debug dll in
> > device
> > using evc++. Say right ??!!??
> >
> > thank you very much, fabbrit
>
>
>



Relevant Pages

  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... Would it be possible for you to drop a debug services.exe and debug nk.exe ... > I ran dumpbin/exports on the finger dll and saw the required function ... >> theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • Re: technical/OS problem (windows xp?)
    ... Build a debug version of the ISAPI DLL. ... Create a virtual root with execute permissions in the IIS Management ... Add your ISAPI extension or filter DLL to the list. ...
    (alt.marketing.online.ebay)
  • Pthread debug DLL uses non-debug VC runtime; include its manifest to resolve this
    ... where I could not start up a debug version of a console app. ... the pthreads DLL, from other comments in the thread. ... Dependency Walker revealed that the Pthreads debug ... It turns out that you need not only the .dll files, but the .manifest files as well. ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)