Topic: JBuilder中怎样输出某一行语句所在的行号 |
Print this page |
1.JBuilder中怎样输出某一行语句所在的行号 | Copy to clipboard |
Posted by: 九佰 Posted on: 2003-11-19 15:09 谢谢! System.out.pring("当前行为 :" + ???? ); |
2.Re:JBuilder中怎样输出某一行语句所在的行号 [Re: 九佰] | Copy to clipboard |
Posted by: wlai Posted on: 2003-11-19 22:05 这应是个 Java 的问题, 而最直接的方法是从 StackTrace 中取得, 你可以到 Javaworld.com 看看这个文章:Java Tip 124: Trace your steps in Java 1.4. http://www.javaworld.com/javaworld/javatips/jw-javatip124.html |
3.Re:JBuilder中怎样输出某一行语句所在的行号 [Re: 九佰] | Copy to clipboard |
Posted by: javadd Posted on: 2003-11-19 22:12 网页好象打不开 |
4.Re:JBuilder中怎样输出某一行语句所在的行号 [Re: 九佰] | Copy to clipboard |
Posted by: wlai Posted on: 2003-11-19 23:23 可以的,现附上一个例子 StackTrace.java (8.27k) |
5.Re:JBuilder中怎样输出某一行语句所在的行号 [Re: 九佰] | Copy to clipboard |
Posted by: xuwentao1976 Posted on: 2003-11-21 13:18 hehe |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |