Prev | Next |
WINE Debugging
Configure Enterprise Architect to debug under WINE
Step |
Action |
See also |
---|---|---|
1 |
At the command line, run $ winecfg. |
|
2 |
Select the Applications tab. Add the Enterprise Architect executable "EA.exe" from the EA installations folder. Follow this by adding the following programs from the VEA sub directories.
|
|
3 |
Select each program in turn, then switch to the Libraries Tab. Ensure the following are listed with a (native, builtin) precedence:
|
|
4 |
Copy the application source code plus executable(s) to your bottle. The path must be the same as the compiled version; that is:
If Windows source = C:\Source\SampleApp, under Crossover it must be C:\Source\SampleApp |
|
5 |
Copy any Side-By-Side assemblies that are used by the application. |
Permissions
An installation of Enterprise Architect contains some native Linux programs that provide building and debugging services to EA under Wine. These programs needs to checked using the Linux file system or shell to ensure they have the 'Execute' permission set appropriately. The programs are located in the "VEA/x86/linux" subdirectory of the EA installation.
Access Violation Exceptions
Due to the manner in which WINE handles direct drawing and access to DIB data, an additional option is provided on the drop-down menu on the Debug window toolbar to ignore or process access violation exceptions thrown when your program directly accesses DIB data.
Select this option to catch genuine (unexpected) access violations; deselect it to ignore expected violations.
As the debugger cannot distinguish between expected and unexpected violations, you might have to use trial and error to capture and inspect genuine program crashes.
Notes
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment