1

开始使用测试文件 - TestManyToOne.java,我想我会在 Eclipse 中运行该文件,看看会发生什么,或者我应该期待什么???这样做时,我在控制台中获得了大量信息,...

请参阅下面的信息,

...以及几个Java 异常断点。

  • 这有什么好担心的吗?

  • 在调试领域,我想在哪里放置行断点?

提前感谢您的洞察力,
瑞恩

控制台信息很丰富,所以只发布最后几行;如果需要更多信息,请告知...

    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=PartSecurity
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboColumnMeta persist rowkey=StringIndice:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=StringIndice
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboColumnMeta persist rowkey=DecimalIndice:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=DecimalIndice
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboColumnMeta persist rowkey=IntegerIndice:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboTableMeta persist rowkey=IntegerIndice
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     CF=DboDatabaseMeta persist rowkey=nosqlorm
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     2012-09-12 09:52:06,830         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     com.alvazan.orm.layer9z.spi.db.inmemory.InMemorySession
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     `CF=DboColumnMeta persist rowkey=PartSecurity:id
     `CF=DboColumnMeta         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     persist rowkey=PartSecurity:id
     lookupColFamily
    INFO: CREATING column family=DboColumnMeta in the in memory nosql store
    2012-09-12 09:52:06,830         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     com.alvazan.orm.layer9z.spi.db.inmemory.InMemorySession          lookupColFamily
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     INFO: CREATING column family=DboTableMeta in the in memory nosql store
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     2012-09-12 09:52:06,850         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     com.alvazan.orm.layer9z.spi.db.inmemory.InMemorySession                 `CF=DboColumnMeta persist rowkey=PartSecurity:id
     `CF=DboColumnMeta         `CF=DboColumnMeta persist rowkey=PartSecurity:id
     persist rowkey=PartSecurity:id
     lookupColFamily
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     INFO: CREATING column family=DboDatabaseMeta in the in memory nosql store
    `CF=DboColumnMeta persist rowkey=PartSecurity:id
     2012-09-12 09:52:06,851 com.alvazan.orm.logging.NoSqlRawLogger sendChanges
    INFO: [rawlogger] Sending Changes to server took(including spi plugin)=21 ms`
4

1 回答 1

0

如果您在 TestManyToOne.java 中,一个好的断点将在简单的 testReadWrite 方法或此版本中的第 79 行

https://github.com/deanhiller/playorm/blob/6f5ed41d2d284902c194b843ac90876da55bab0b/input/javasrc/com/alvazan/test/TestManyToOne.java

然后你可以进入 readWriteBasic 方法。我不确定“几个 java 异常断点”是什么意思?也许是你的意思的截图?

此外,您的控制台意味着您可能正在一个类或整个测试套件中运行每个测试。相反,我只需右键单击要运行/调试“testReadWrite”的方法并运行/调试该方法(在控制台中也不会有那么多)。

院长

于 2012-09-12T17:46:37.670 回答