Chuanqi Xu

Results 73 comments of Chuanqi Xu

Another problem is that `collectAllPara` is not equal to `collectAll`, it might be design mistake. We may need to change it.

> > Another problem is that `collectAllPara` is not equal to `collectAll`, it might be design mistake. We may need to change it. > > em,we can remove > >...

> I think spdlog is better, yaLanTingLibs is using spdlog. I don't have preference for the specific loggers.

> 单独搞个分支不太好;一般像这种feature的流程一般是:个人分支在 POC -> 设计 RFC -> 逐步将更改合入主线

> > 单独搞个分支不太好;一般像这种feature的流程一般是:个人分支在 POC -> 设计 RFC -> 逐步将更改合入主线 > > logger可能一个人搞不定 这种 feature 多人合作反而会很麻烦;一步做到很好当然是比较困难,但没有必要一步做好;一般先有一个顶层设计之后就可以逐步的进行改造了,肯定是需要长期多次迭代才能做好的

> 怎么引入依赖呢?引入代码还是像gtest那种用外部依赖。我看yaLanTingLibs是引入的代码。 引入代码比较好吧,可以少用户很多事,放在 third_party 里就好

这个文档是可用的吗?https://github.com/alibaba/async_simple/blob/main/docs/docs.cn/调试%20Lazy.md

> 目前主要还是这几类 debug 的问题比较难用: > > 1. gdb step 进入 coro 调用里 > 2. gdb up/down 在 coro 间切换 > 3. print 某个变量(local 或 class 成员变量) 1 和 2 在原理上没法实现,因为异步执行的话很可能执行的栈帧已经不在栈上了。3...

优化的情况可以看看这个文档:https://clang.llvm.org/docs/DebuggingCoroutines.html#examples-to-print-coroutine-frames

> uthread有gdb脚本么 uthread 不需要吧,按原来的就行了