Author |
Message
|
SANTYP |
Posted: Tue Jan 05, 2010 1:12 am Post subject: Debugger making me to frustrate |
|
|
 Centurion
Joined: 27 Mar 2007 Posts: 142
|
Hi Guys...
Please help me... in this..
I am using toolkit 6.1.0.3v and my broker is 6.1.0.2..
I started by debugger.. but it took 20 min for launch the debugger..
I put the break points to my flow it takes morethan 2 mins,..
after posting req msg it is talking 1-2 min to move from one break point to another...
please help me to solve my broker issue...
I know that it might not be the right post in the form.. but understand my issue and help me out..
my system has 2gb ram.. 80gb harddist... |
|
Back to top |
|
 |
kimbert |
Posted: Tue Jan 05, 2010 2:03 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
I suggest that you use user trace + Trace nodes. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jan 05, 2010 4:31 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
kimbert wrote: |
I suggest that you use user trace + Trace nodes. |
I agree.
There are many systems in production that were developed without ever seeing the debugger. It is really a matter of personal choice.
That said even when using the debugger (and it is getting better) there are times when user trace + trace nodes is the only way to find out what is really happening inside a flow. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 05, 2010 5:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
With it all.
Call me a but I don't use anything but trace nodes & user trace. I find it easier and the detail seems much deeper.
Other debugging stratergies valid of course.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jan 05, 2010 5:47 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Vitor,
You are a . There again I'm probably one as well...
Steve
(well, you did ask for it) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
nathanw |
Posted: Tue Jan 05, 2010 6:04 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
Makes 3 of us
Have never got on with debugger found it too fiddly to get just so whereas trace nodes and usertrace are simply a matter of
adding to flow
deploying
running trace commands (which can me automated of course)
and see thing problem and fixing
Steve you and I know this all to well _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 05, 2010 6:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nathanw wrote: |
Have never got on with debugger found it too fiddly |
It's not just me??
I feel the relief flow through me.
Or is it the electricity from this big fence round the enclosure? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nathanw |
Posted: Tue Jan 05, 2010 6:47 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
mmm could be electricity
watch out for the white coats! _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
SANTYP |
Posted: Wed Jan 06, 2010 6:41 pm Post subject: |
|
|
 Centurion
Joined: 27 Mar 2007 Posts: 142
|
smdavies99 wrote: |
kimbert wrote: |
I suggest that you use user trace + Trace nodes. |
I agree.
There are many systems in production that were developed without ever seeing the debugger. It is really a matter of personal choice.
That said even when using the debugger (and it is getting better) there are times when user trace + trace nodes is the only way to find out what is really happening inside a flow. |
Thanks guys for your suggestions |
|
Back to top |
|
 |
broker_new |
Posted: Thu Jan 07, 2010 7:16 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
why not a statement in the ESQL to print the message in the log file at that particular instance (just like system.out.println) in new upcoming release? |
|
Back to top |
|
 |
mgk |
Posted: Thu Jan 07, 2010 8:12 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Like the existing ESQL LOG statement you mean?  _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
broker_new |
Posted: Thu Jan 07, 2010 10:44 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
|
Back to top |
|
 |
mqmatt |
Posted: Fri Jan 08, 2010 3:27 am Post subject: Re: Debugger making me to frustrate |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
SANTYP wrote: |
I started by debugger.. but it took 20 min for launch the debugger..
I put the break points to my flow it takes morethan 2 mins,..
after posting req msg it is talking 1-2 min to move from one break point to another... |
This sounds like a PMR.
And you might also want to try restarting the toolkit with the -clean option. |
|
Back to top |
|
 |
WBI_user |
Posted: Fri Jan 08, 2010 10:08 am Post subject: |
|
|
Partisan
Joined: 07 Aug 2001 Posts: 386
|
I agreed with all the points on User Trace Vs debugger. In our shop , the development broker is running on UNIX, We all connected remotely using our toolkit. I was told by our WMB administrator that we need to be in mqbrkrs group in order to read and format the user trace. But they will never give that to developers.So we are stuck with debugger.
I read the WMB manual and confirmed what they told me. For those who are using user trace all the time, do you have mqbrkrs authority ? or do you have other ways of getting around this ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 08, 2010 3:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You could just ask your Unix admin to give read access to the trace file and read + execute access to the directory to all.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|