[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re[2]: [cdt-debug-dev] Initial commit for win32 debugger completed
|
Hello Douglas,
I'm a smock! :):)
How do i set up the plugging to run in a run-time workbench?
Are there some special trix to get this flying :):)
I can launch a workbench and select the Win 32 Debugger
in the Debug Dialog. However whenever i try stepping into my little
C++ program I get this:
Think i miss some dll or other file..Uii
java.lang.NoClassDefFoundError
at org.eclipse.cdt.debug.win32.core.cdi.WinDbgSession.<init>(WinDbgSession.java:57)
at org.eclipse.cdt.debug.win32.core.Win32Debugger.createLaunchSession(Win32Debugger.java:50)
at org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDelegate.launch(LocalCLaunchConfigurationDelegate.java:90)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
eclipse.buildId=unknown
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sv_SE
Command-line arguments: -application org.eclipse.ui.ide.workbench
Wednesday, July 7, 2004, 3:39:38 PM, you wrote:
DS> The error tells me you don't have the compiler, cl, in your PATH.
DS> And, please call me Doug. :-)
DS> Doug Schaefer, IBM's Eclipse CDT Architect
DS> Ottawa (Palladium), Ontario, Canada
DS> Hasse Hellberg <hasse@xxxxxxxxxxxxxxx>
DS> Sent by: cdt-debug-dev-admin@xxxxxxxxxxx
DS> 07/07/2004 07:22 AM
DS> Please respond to
DS> cdt-debug-dev
DS> To
DS> Douglas Schaefer <cdt-debug-dev@xxxxxxxxxxx>
DS> cc
DS> Subject
DS> Re: [cdt-debug-dev] Initial commit for win32 debugger completed
DS> Hello Douglas,
DS> I'm having a little trouble building the plugging.
DS> Following your README.html I still get an ANT error when building
DS> the plugging: org.eclipse.cdt.debug.win32.core
DS> Using M9 and also tried the Finale 3.0 Eclipse with CDT 2.0 Finale
DS> - Setting up and installing everything from your README
DS> - I have checked out the two pluggins from Eclipse CVS /home/tools
DS> org.eclipse.cdt.debug.win32.core
DS> org.eclipse.cdt.debug.win32.ui.
DS> - I have not disconnected from the CVS when buildning (maybe i should
DS> Uiii..)
DS> - I do a "Clean" and select rebuild all
DS> I think maybe i missed something in the README
DS> or configured some classpath wrong *grinnn*
DS> Have a look at the error message here
DS> [Failure on background build]
DS> Buildfile:
DS> D:\workspacedog\org.eclipse.cdt.debug.win32.core\native\build.xml
DS> main:
DS> [cc] 4 total files to be compiled.
DS> BUILD FAILED:
DS> D:\Eclipse\EclipsInstall3.0FINALE\workspacedog\org.eclipse.cdt.debug.win32.core\native\build.xml:6:
DS> Could not launch cl: java.io.IOException: CreateProcess:
DS> cl /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MLd /DUNICODE
DS> /IC:\j2sdk1.4.2_05\include /IC:\j2sdk1.4.2_05\include\win32
DS> D:\workspacedog\org.eclipse.cdt.debug.win32.core\native\target.cpp
DS> D:\workspacedog\org.eclipse.cdt.debug.win32.core\native\thread.cpp
DS> D:\workspacedog\org.eclipse.cdt.debug.win32.core\native\process.cpp
DS> D:\workspacedog\org.eclipse.cdt.debug.win32.core\native\frame.cpp error=2
DS> Total time: 1 second
DS> Monday, July 5, 2004, 10:58:39 PM, you wrote:
DS>> Hey gang,
DS>> I have committed what I have so far for the win32 debugger. These are
DS>> available in the org.eclipse.cdt-debug folder, plugins
DS>> org.eclipse.cdt.debug.win32.core and
DS>> org.eclipse.cdt.debug.win32.ui.
DS>> Going through it today, I'll have to apologize for the lack of
DS> comments in
DS>> the code. Hopefully, you can follow it. If not, I'll be happy to
DS> answer
DS>> any questions on it.
DS>> As Alain pointed out, this will be a good exercise to remove MI-isms
DS> from
DS>> the debugger, but, to be honest, I haven't notice any yet. But then
DS> I'm
DS>> pretty much a novice at this stuff.
DS>> There are a couple of interesting things covered by the core plugin.
DS> First
DS>> is the use of the Microsoft Visual C++ Toolkit and Platform SDK to
DS> build
DS>> the native library. These are available for free from the
DS> microsoft.com
DS>> website. Second is the use of cpptasks and Ant for the build, thus
DS>> avoiding the need to install make to work on these plugins. There is a
DS>> README.html file in the core plugin which describes how to set this
DS> stuff
DS>> up.
DS>> If people get annoyed by cpptasks, we should be able to move to
DS> something
DS>> else that would work with Standard Make (Jam??). But give it a try.
DS> It's
DS>> got some interesting behavior.
DS>> Doug Schaefer, IBM's Eclipse CDT Architect
DS>> Ottawa (Palladium), Ontario, Canada
DS>> _______________________________________________
DS>> cdt-debug-dev mailing list
DS>> cdt-debug-dev@xxxxxxxxxxx
DS>> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
--
Best regards,
Hasse mailto:hasse@xxxxxxxxxxxxxxx