linux 远程调试
Posted xiaolei2017
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux 远程调试相关的知识,希望对你有一定的参考价值。
#!/bin/bash #:代表多个 export LD_LIBRARY_PATH=~/demoProduce/dsp/lib:~/demoProduce/dsp/IMIXProtocol/lib:~/demoProduce/dsp/imixObject/lib:$LD_LIBRARY_PATH export REMOTE_DEBUG="-Xms1024m -Xmx1024m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=10020" cd ~/demoProduce/produce/ libcp=""; for i in `ls ../lib/`; do libcp=$libcp"../lib/$i:"; done; democp=""; for i in `ls ../produce/`; do democp=$democp"../produce/$i:"; done; java -DSERVICE_INSTANCE_ID=CMDS-0008 ${REMOTE_DEBUG} -cp $libcp$democp cn.com.cfets.produce.DemoProducer ../cfg/log4j.properties ../cfg/converter.properties ../cfg/dspimtapi.cfg
以上是关于linux 远程调试的主要内容,如果未能解决你的问题,请参考以下文章