ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB Toolkit debugger

Post new topic  Reply to topic
 WMB Toolkit debugger « View previous topic :: View next topic » 
Author Message
mustang
PostPosted: Wed Oct 24, 2007 7:57 am    Post subject: WMB Toolkit debugger Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

We use WMB 6.

I receive an "Unable to install breakpoint in .... due to missing line number attributes. Modify compiler options to generate line number attributes" error when trying to launch the WMB Toolkit's debugger.

It is for a jar file with classes accessed by a JavaCompute node. The jar file is built using ANT with the debug="true" and debuglevel="lines,vars,source" parameters. When I open the offending class file in a decompiler, it displays the line numbers (which it won't do if the class files are compiled without line numbers).

In addition, I receive the same error when I replace the jar file generated by ANT with a jar file generated by the toolkit in the same workspace. This jar file was generated using the eclipse setting "Add source file name to generated class file (used by the debugger)" setting checked. I also verified that the line numbers were set by viewing the class file in a decompiler.

Any reason why the toolkit's debugger keeps giving me this message? I would really love to set breakpoints in the source that generates this jar file.

Thanks!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 24, 2007 8:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Are you sure the jar file is generated with the right version of Java.?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mustang
PostPosted: Thu Oct 25, 2007 4:47 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

No, I am not sure. When I built it using ANT, the compiler was from j2sdk1.4.2_11. When I built it using the WMB Toolkit, the compiler was compiler compliance 1.4.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 4:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, that should be close enough.

You did all the necessary things to enable Java debugging on the broker runtime - enabled the debugger port, and etc?

Is this a JAR file that's being deployed in a BAR, or through some other means?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mustang
PostPosted: Thu Oct 25, 2007 5:36 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

Yes, I believe I did all the necessary things to enable Java debugging on the broker runtime, including enabling the debugger port. The debugger does step into the JavaCompute node. It even steps into the code in the jar file. It just won't recognize the breakpoints in the jar file source.

It is a jar file being deployed in a BAR. The BAR is built using the WMB Toolkit. I have built the jar using both ANT and the WMB Toolkit, both with the necessary parameters needed to enable line numbers.

Thanks!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 25, 2007 5:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Is it possible you have a phantom EG, and the debugger is connecting to that?

Compare what you see in mqsilist BROKERNAME to what you see in the Toolkit. Compare what you see in mqsilist BROKERNAME to the number of DataFlowEngine processes you see.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB Toolkit debugger
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.