RE: Dubugging

ryanwa

Member
RE: Dubugging

Are you sure that your report is running locally? If it is getting
submitted to the enterprise server, then your break points will not work.

You can either set up an OCM mapping for the report so that it will run
locally or when you select the report to run, use the "Advanced" button to
Override Location to Local.

Ryan Walls [[email protected]]
Senior Programmer/Analyst - Attachmate Corp.
B733.1 SP10.1 DS:NT4.0 ES:AS400 V4R4
TSE4.0/Citrix 1.8 co-existent





B733.1 sp10.1 ent AS400 v4r4 deploy NT 4.0
TSE 4.0 Citrix 1.8 coexistant
 
Re: Dubugging

YEs.. I am sure. I am running it locally only. and also I tried by making
the ner locally i.e mapping the NER locally and again the result is same. it
is not stopping...

any ideas?????

Thanks
jde
 
Re: Dubugging

Just wondering as to why you want to debug your NER through C. Can't you use the event rule debugger. I understand if it was a C business function, you could use the C debugger.
Hopefully you have done all these processes.
1. Checked out to local machine.
2. Built it in Debug mode
3. Got out of one world
4. Opened it in C++ and changed the General and Additional Dll category in the Debug tab as needed. Remember to specify the full path of Oexplore in the General category.
7. Go to Build and Start Debug

Hope this helps
Yathindra


YEs.. I am sure. I am running it locally only. and also I tried by makingt
he ner locally i.e mapping the NER locally and again the result is same. it
is not stopping...

any ideas?????

Thanks
jde













--------------------------
 
Re: Dubugging

when i'm doing debugging, usually i'll do it when runtime. mean when
executing the report, it will stop at the point i've set the breakpoint and
then i can see all the values of variables. to do this, i use the oneworld
debugger. type "debug" in the fast path, or gh902 menu. launch the debug
application. in the ube tab, put the report object name and double-click
your choice. you'll see this object in your application already, then click
on the expand and put a break point at the business function where your
report is calling it (e.g usually go to do section of report and
double-click to put the breakpoint, it'll put a red dot there). i don't
think so that your report can stop if you only put the breakpoint at your c
bsfn and run it. to go to your bsfn, you can step-into during the debugging
to go to your bsfn.
also, after doing this already. you'll get "program stoped in event rules
debugging". if you disconnect, it'll run the whole report. well, hope this
one will help you. happy debugging :)

Bell
OneWorld Developer
One World B7332,SP 9, AS/400 V4R4M0
Windows NT; Win2000+Citrix Metaframe 1.8a

----- Original Message -----
From: "jdelist jde" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 10, 2001 12:35 AM
Subject: Dubugging


at
additional
the
 
RE: Dubugging

I don't know what's you want to debug in your business function. But if you
just want to kow the value of a variable, you can simply add the MD_DEBUG
function in you NER function.

-----Message d'origine-----
De : [email protected]
[mailto:eek:[email protected]]De la part de jdelist jde
Envoyé : lundi 9 avril 2001 18:35
À : [email protected]
Objet : Dubugging


Hi guys,

I am trying to dubug the business function. It is an NER. I am trying to
stop the report at business function(NER). But somehow it is not stopping at
the NER. It is executing staraight away and giving me the final result of
acrobat .
I would like to make a stop at the NER And there onwords i woudl like to
watch line by line.

Here is the procedure I am doing for debugging.


Go to one world

Debug the NER in Debug mode.

Close the oneworld
open VC++
open workspace and then select oeexplore.exe from c:b7\system\bin32
go to project-->Settings--? select debug tab and then select the additional
dlls ---> and then select the dll from c:\b7\prodb732\bin32
then open the NER(.C) AND then put the break points. here I am putting the
breakpoints at initialise section and after the main section.

then go to start debug and then one world login will come up and then run
the report from object librarian.

This is the procedure I am doing. I know i did it earlier but long back.
Let me know if there is anything I am missing in this procedure.

Thanks in advance..

jde



Franck BLETTNER
Service Informatique RAVATE
Tel : 02 62 90 40 48
E-mail : [email protected]
 
RE: Dubugging

Maybe my comments are obvious. In this case excuse me.

Do you debug your report at the same time.
If not then try to debug your report too and place break points at your
BSFN call(s).
When your report stops at these break points then go ahead with
Step-Into instead of Step in the report debugger. Hopefully your C++
debugger will come up.

At last (please, do not get hurt at it), are you sure that your report
has to cross the point(s) where your BSFN is called and your BSFN will
cross its break points? The best way to check it is also to debug your
report placing break points at BSFN calls. Sometimes the solution could
be so simple. I really know :)))

Good luck in Bug Hunting,
Zoltán




B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
RE: Dubugging

Hi Yathindra,

Have you ever been able to debug NER BSFN at NER level?
If yes, then please, describe the way for us further please, attach the
OneWorld release and SP level too on which you could do it.
I am very curious to it.

Thanks in advance,
Zoltán





B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
Re: Dubugging

I think we can't do this. because you can dubug only the interactive and
batch application from object library. you cannot add the NER Through OL.
Please Correct me if I am wrong in this. we need to do it using the .c
funtion of the NER.

I am doing the same way as specified..but still no luck in this case..
thanks
jde
 
RE: Dubugging

Frank,

In NER There are more than 15 business functions used. and in one business
function there is a logic to update couple of files. so I am trying to find
out which function is writing to which table. so that is the reason I am
trying to debug the NER. Hope you got my point frank.

Thanks
jde
 
RE: Dubugging

Zoltan,

I tried to both report and NER(.C FUNCTION) At a time. but still no luck.
but I will try again. I am sure I tried the step into only.. still it
doesn't come up. It simply passing that c function.
any more ideas??
thanks
jde
 
RE: Dubugging

Zoltan,

What I meant to say was to debug the application/UBE at the NER level and find out if it the control does go into the NER. After that, will need to get into the C++ level. Sorry that my english led you to think otherwise. Your question actually is a good one. I wonder if anybody knows how to debug a NER at the NER level..

Yathindra
One World XE, ES : AS/400, DS: Win NT

Hi Yathindra,

Have you ever been able to debug NER BSFN at NER level?
If yes, then please, describe the way for us further please, attach the
OneWorld release and SP level too on which you could do it.
I am very curious to it.

Thanks in advance,
Zoltßn





B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
--------------------------
 
RE: Dubugging

M&D debug is a great tool but in my humble opinion, I don't think there is
an effective way to debug NERs other than using the C debugger.

I think what Yathindra was saying is to debug the calling application and
make sure that the parameters passed into the NER are fine and "STEP INTO"
the function.

1) Check out NER locally and build successfully. Try to build in "Debug"
mode in busbuild, if necessary.
2) Log out of OneWorld
3) Verify that your project settings has the parent DLL. Set the right
breakpoints and kick off OneWorld from C++.
4) Login to OneWorld and debug the calling application/UBE and "STEP INTO"
the NER/BSFN.

If it still fails,
1) You have a corrupt BSFN data structure.
2) Look into your jde.log for further troubleshooting.

-Chandu Revanur
J.D.Edwards & Company
Denver, CO.
 
RE: Dubugging

Hi Chandu,

I am doing sameway as you said in your mail but still no luck.
I tried with doing both application and NER(C FUNCTION). I Have used the
step into. still it is not stopping.
Any more ideas.
Thanks
jde
 
RE: Dubugging

Hi

One mor ething. I am trying to debug from UBE. In this case do I need use
the ubeprint.exe instead of Oeexplore.exe . Is there anybody problems with
the c++ debugger in B7322?? Your help is greatly appreciated.
Thanks
Jde
 
RE: Dubugging

In B7322 It only works with UbePrint.exe. If you are debugging from a UBE
then try to use the UBEPRINT.EXE instead of OEExplore.exe. Then It should
work.

Thanks
Reddy
 
RE: Dubugging

Hi

Thanks a lot reddy.. The Debugging is working with UBEPRINT.EXE.
Once again thanks for everybody who helped me with your valuabale
suggestions.

Jde
 
Back
Top