Betekintés: Title debugging business functions using Microsoft Visual C++ 7.1, oldal #2

Figyelem! Ez itt a doksi tartalma kivonata.
Kérlek kattints ide, ha a dokumentum olvasóban szeretnéd megnézni!

Bxxxxxx.c) g. Set your break points in the code (make sure to set your break points after main processing section). h. Go to the Debug menu option and click Start. i. Save the solution file j. If "No Symbolic Information" message box for activConsole.exe appear click OK and continue. k. Then the EnterpriseOne login box will appear.



l. Sign into the PeopleSoft EnterpriseOne software. m. Click Tools -> EnterpriseOne Menu in Solution Explorer n. Launch the application from local web server EnterpriseOne Menu, when the application reaches the business function to Debug, it will display the C code in Visual C++ .NET so that you can step through it. 2. For Demo version, the business function will run in jdenet_n.exe kernel thread. a. Click Tools -> EnterpriseOne Menu in Solution Explorer b. Go to Window Task Manager, click on Processes tab, right click jdenet_n.exe and select Debug c. Verify that it selected Visual C++ .NET for debugging and click ok d. “At Attach to Process” dialog box, make sure Native option is checked and click ok e. From the File menu choose open to open the .c or .h files for the business function (e811\path code\source\Bxxxxxx.c) f. Set your break points in the code (make sure to set your break points after main processing section). g. Launch the application from local web server EnterpriseOne Menu, when the application reaches the business function to Debug, it will display the C code in Visual C++ .NET so that you can step through it.
Back to Top

Common Issues When Debugging a Business Function
1. If the business function won't stop at break point, check the following: o Bsfn must run locally, make sure there is no OCM that mapped it to run on server. o Make sure there is no UBEThread=0 in the [UBE] section of the jde.ini as this will make the UBE run in separate process instead of same thread as Visual C++ so UBE calling bsfn will not be caught by Visual C++. 2. If unable to find jdenet_net.exe in Task Manager, close all and restart EnterpriseOne client. When you end debug in Visual C++ .NET after attaching to jdenet_n.exe, jdenet_n.exe will exit. 3. If you get dll does not have debug info when you start debug, please logout of JDE, run busbuild.exe in 8.11\system\bin32 and do a build all.

Back to Top



«« Előző oldal