Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以设置 Eclipse 以便每个线程打印到单独的控制台?当输出全部乱码时,这是非常烦人的。
我不知道您是否真的可以这样做,但是您将为每个线程添加一个名称,例如 thread.Name = "1" 并在打印信息时在末尾添加线程的名称。