Put PingableNetDeviceDemo/BaseNetDevice debug output in if(debug) blocks.