How to build a DLL file in Aion Business Rules Expert 11.0, that contains debug information in the Aion dll files and their respective calling components?
book
Article ID: 21492
calendar_today
Updated On:
Products
Aion Business Rules Expert
Issue/Introduction
Is there a way to build an application in Aion Business Rules Expert 11.0, which would contain debug information in the Aion DLL files and their respective calling components?
Environment
Release: Component: AIONBR
Resolution
Aion applications can be debugged with the Visual Studio C/C++ debugger as follows.
In the File menu select 'Settings' then click the 'Build' tab.
Uncheck the Auto and Clean checkboxes, and check the 'Generate Source Files', 'Compile', and 'Link' checkboxes.
In the Compiler Switches enter: /Zi
In the Linker Switches enter: /DEBUG
Click the OK button
Build the application
Start a command prompt window and locate the built application's .BIN directory.
Search through the generated C or CPP file for the location where you want to debug. Then, add the following line: _asm int 3
Rebuild with the following command: .\build.bat
Run the program as follows: .\appname
Windows will prompt if you want to debug the application. Select that you want to debug. Then, select the Visual Studio debugger. The steps are similar if you use the respawn command. respawn appname -res -gen -comp -link Then, do steps 8-12 above.
If respawn is being used, open the generated build.bat file in the .BIN directory and ensure the /Zi and /DEBUG options are specified for the compiler and linker.