
Hi, Roughly: 1. on command line, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS="-Danimal.sniffer.skip -Dcheckstyle.skip -Dgwt.compiler.localWorkers=1" DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=safari" BUILD_UT=0 BUILD_GWT=1 BUILD_LOCALES=0 2. on command line, start engine. $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py start 3. in Eclipse, select all projects on the left, Refresh. 4. In Eclipse, highlight webadmin project, Run > Debug Configurations > Remote Java Application > click the New icon, name it, port = 8787, Debug 4b. You might have to highlight your specific backend project instead of webadmin before doing the new debug configuration -- I haven't done it in years. Best wishes, Greg On Wed, Mar 20, 2019 at 9:01 AM du_hongyu@yeah.net <du_hongyu@yeah.net> wrote:
hi I can step through frontend code follow https://www.ovirt.org/blog/2017/08/ovirt-webadmin-gwt-debug-quick-refresh.ht..., <https://www.ovirt.org/blog/2017/08/ovirt-webadmin-gwt-debug-quick-refresh.html,> I want to step through backend code, now I only print log to debug backend code, But i do not how to debug backend code by other method , can you give me some advise?
------------------------------
Regards
Hongyu Du _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AZEFPIKDI3RWA7...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>