 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Peter Bradley Guest
|
Posted: Sat Dec 13, 2003 6:51 pm Post subject: Netbeans: debugger |
|
|
Hi.
I don't seem to be able to get the Netbeans debugger to work to work under
Windows XP (VM fails to initialise). Having checked the knowledge base, I
reinstalled everything into paths without spaces without any joy.
The command in Tools | Options | Debugger ... etc gives the dt_shmem option
(had to change it from dt_socket), but the command showing in the output
window still says dt_socket. Tried using the command line given in the
knowledge base:
runide.exe -J Dnetbeans.debugger.jpda.transport=dt_shmem
but this gives an 'unknown option Dnetbeans' error on startup and the IDE
will not start.
Can anyone suggest anything else I could try?
Thanks
Peter
|
|
| Back to top |
|
 |
Michael Amling Guest
|
Posted: Sat Dec 13, 2003 8:48 pm Post subject: Re: Netbeans: debugger |
|
|
Peter Bradley wrote:
| Quote: | I don't seem to be able to get the Netbeans debugger to work to work under
Windows XP (VM fails to initialise). Having checked the knowledge base, I
reinstalled everything into paths without spaces without any joy.
The command in Tools | Options | Debugger ... etc gives the dt_shmem option
(had to change it from dt_socket), but the command showing in the output
window still says dt_socket. Tried using the command line given in the
knowledge base:
runide.exe -J Dnetbeans.debugger.jpda.transport=dt_shmem
but this gives an 'unknown option Dnetbeans' error on startup and the IDE
will not start.
Can anyone suggest anything else I could try?
|
Do you need a hyphen before the capital D?
--Mike Amling
|
|
| Back to top |
|
 |
Peter Bradley Guest
|
Posted: Sat Dec 13, 2003 10:04 pm Post subject: Re: Netbeans: debugger |
|
|
"Michael Amling" <nospam (AT) nospam (DOT) com> wrote
| Quote: | Peter Bradley wrote:
I don't seem to be able to get the Netbeans debugger to work to work
under
Windows XP (VM fails to initialise). Having checked the knowledge base,
I
reinstalled everything into paths without spaces without any joy.
The command in Tools | Options | Debugger ... etc gives the dt_shmem
option
(had to change it from dt_socket), but the command showing in the output
window still says dt_socket. Tried using the command line given in the
knowledge base:
runide.exe -J Dnetbeans.debugger.jpda.transport=dt_shmem
but this gives an 'unknown option Dnetbeans' error on startup and the
IDE
will not start.
Can anyone suggest anything else I could try?
Do you need a hyphen before the capital D?
--Mike Amling
Hi Mike, |
Thanks for that - but no. I tried that. It gives the same error but with
the hyphen (i.e. 'unknown option Dnetbeans' ).
Cheers
Peter
|
|
| Back to top |
|
 |
Peter Bradley Guest
|
Posted: Tue Dec 16, 2003 7:43 pm Post subject: Re: Netbeans: debugger |
|
|
"Peter Bradley" <apvx95 (AT) dsl (DOT) pipex.com> wrote
| Quote: | Hi.
I don't seem to be able to get the Netbeans debugger to work to work under
Windows XP (VM fails to initialise). Having checked the knowledge base, I
reinstalled everything into paths without spaces without any joy.
The command in Tools | Options | Debugger ... etc gives the dt_shmem
option
(had to change it from dt_socket), but the command showing in the output
window still says dt_socket. Tried using the command line given in the
knowledge base:
runide.exe -J Dnetbeans.debugger.jpda.transport=dt_shmem
but this gives an 'unknown option Dnetbeans' error on startup and the IDE
will not start.
Can anyone suggest anything else I could try?
Thanks
Peter
|
Just to see if it made any difference, I installed Sun ONE Studio Community
Edition. This gives the same error.
I'm sure the problem is that the command line calling the debugger says
"transport=dt_socket", but I can't seem to change it despite changing it in
the debugger configuration. Having said that, if I run the command at the
command prompt having changed the transport to dt_shmem, I get the error:
Error accessing shared memory, rc = -1
Transport dt_shmem failed to initialize, rc = -1
FATAL ERROR in native method: No transports initialized
Here's the output in the Sun ONE output window when the debugger tries to
start:
FATAL ERROR in native method: No transports initialized
C:j2sdk_nbj2sdk1.4.2jre..binjava -Xdebug -Xnoagent -Xrunjdwp:transport
=dt_socket,address=cymro-ffenestri:1171,suspend=y -Djava.compiler=NONE
"-Xbootclasspath:C:j2sdk_nbj2sdk1.4.2jre..libtools.jar;C:j2sdk_nbj2s
dk1.4.2jrelibrt.jar;C:j2sdk_nbj2sdk1.4.2jrelibi18n.jar;C:j2sdk_nbj
2sdk1.4.2jrelibsunrsasign.jar;C:j2sdk_nbj2sdk1.4.2jrelibjsse.jar;C:
j2sdk_nbj2sdk1.4.2jrelibjce.jar;C:j2sdk_nbj2sdk1.4.2jrelibcharsets.
jar;C:j2sdk_nbj2sdk1.4.2jreclasses;;C:j2sdk_nbj2sdk1.4.2jrelibextd
nsns.jar;C:j2sdk_nbj2sdk1.4.2jrelibextldapsec.jar;C:j2sdk_nbj2sdk1.4
..2jrelibextlocaledata.jar;C:j2sdk_nbj2sdk1.4.2jrelibextmysql-conne
ctor-java-3.0.9-stable-bin.jar;C:j2sdk_nbj2sdk1.4.2jrelibextsunjce_pro
vider.jar" -classpath "c:Documents and Settingspetersystem;c:Documents
and Settingspetersystem;C:Program Filess1studiocesystem;C:Program
Filess1studiocemodulesextj2ee-1.3.jar;C:Program
Filess1studiocemodulesextjaas-1.0.jar;C:Program
Filess1studiocemodulesautoloadactivation.jar;C:Program
Filess1studiocemodulesextjms-1.0.2b.jar;C:Program
Filess1studiocemodulesextjta-spec1_0_1.jar;C:Program
Filess1studiocemodulesautoloadmail.jar;C:Program
Filess1studiocelibopenide.jar;C:Program
Filess1studiocemodulesextAbsoluteLayout.jar;C:Program
Filess1studiocemodulesextsql.jar;C:Program
Filess1studiocemodulesextrowset.jar;C:Program
Filess1studiocelibextjdbc20x.zip;C:Program
Filess1studiocemodulesextjunit.jar;C:Program
Filess1studiocemodulesextjunit-ext.jar;C:Program
Filess1studiocemodulesextservlet-2.3.jar;c:Documents and
Settingspetersampledir;C:Program
Filess1studiocebeansTimerBean.jar;c:Documents and
Settingspetertomcat401_base;C:javaprojectsjavanotes"
Chapter3.Exercise3_1
err:: No such file or directory
Error [2] in connect() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|