首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 模拟__line__,在java __file__和__func__

模拟__line__,在java __file__和__func__

  • 资源大小:5.25 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Line FUNC 模拟 javafile

资 源 简 介

This project provides a library to mimic __LINE__, __FILE__ and __func__ in Java. The displayed text is recognizeable by Eclipse console such that if you double click on the file.line, Eclipse will bring you to that source line for you. This is very convenient when you are tracing through your source code. jWatcher comes with samples in the form of test cases. When running the following code: class WatcherTest { public void testLog() { Watcher.log() ; }} You get the followng result printed: WatcherTest.testLog(WatcherTest.java:10) The examples also show how you can extend jWatcher to provide more sophisticated logging through Custom Watchers.

文 件 列 表

META-INF
MANIFEST.MF
src
jWatcher
test
jWatcher
.classpath
.project
build.xml
VIP VIP
0.173411s