Oliver Specht pisze:
Tor Lillqvist schrieb:
I don't know if there is a guide. I figured it out myself, it isn't really that hard.

- build the parts of OOo you are interested in debugging with debug=true, and copy the resulting DLLs into their place in the OOo installation

- start OOo from Explorer, just as when using it normally

- run the Visual Studio IDE. Attach the soffice.bin process. Open one of the source files that contains code you want to debug. Set breakpoints.

- do whatever is needed in OOo to get the breakpoint to fire. Debug.

If you want to debug the startup mechanism it obviously is a bit more complex, I can't give any simple instruction for that.

Hi,
you can also start the office within the debugger. To do this you have to extend the PATH with <install_path>\URE\bin and <><install_path>\basis\program.
You have to start the debugger with "vcexpress /debugexe soffice.bin"
Now you can also debug in startup.

Thanks to both of you for such useful info. Is there a page about debugging OOo in the wiki? This definitely belongs there.

Regards
Marcin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to