[External] Re: BMCWEB debug question

Zhang Jian zhangjian.3032 at bytedance.com
Fri Nov 15 19:22:34 AEDT 2024


> This seriers of actions cost me too much time.I don't think it is a right
develop flow as a web engineer.Could u show me right way for debuging?

Based on the information I have, this is the correct approach, because
bmcweb is header-only,
and any small modification will basically result in a full recompilation.


On Thu, Nov 14, 2024 at 6:06 AM 喻柏炜 <yubowei0982 at phytium.com.cn> wrote:

> Waitting for your reply,thanks!
>
>
>
> -----原始邮件-----
> *发件人:* 喻柏炜 <yubowei0982 at phytium.com.cn>
> *发送时间:* 2024-11-12 11:54:18 (星期二)
> *收件人:* openbmc at lists.ozlabs.org
> *主题:* BMCWEB debug question
>
> Hello,pm
>
>
> Each time debuging a funcion of one line code will cost me too much time.
> 1.type "bitbake bmcweb",this action will cost me 5 minutes.
> 2.Replace bmcweb binary file.
> 3.reboot bmcweb.
>
> This seriers of actions cost me too much time.I don't think it is a right
> develop flow as a web engineer.Could u show me right way for debuging?
>
>
> The second question is that I didn't find any action relate with "meson
> setup buildder && ninja " in bmcweb.bb.How does it work?how can I use
> “Incremental Implementation” to decrease waste time in action "bitbake
> bmcweb" which cost me too much time.
>
>
> The third question.Dose bmcweb have Hot Deployment method?Must I replace
> binary bmcweb in obmc-phosphor-image for detectting writing result?
>
> Dose it exist a function to detect result more convinently like npm run
> serve in webui-vue,that is more convenient and more safe.It used proxy and
> will never replace binary file in obmc.
>
>
> Thanks!
>
>
>
>
>
> *信息安全声明:本邮件包含信息归发件人所在组织所有,发件人所在组织对该邮件拥有所有权利。请接收者注意保密,未经发件人书面许可,不得向任何第三方组织和个人透露本邮件所含信息。Information
> Security Notice: The information contained in this mail is solely property
> of the sender's organization.This mail communication is
> confidential.Recipients named above are obligated to maintain secrecy and
> are not permitted to disclose the contents of this communication to others.*
>
>
>
>
> *信息安全声明:本邮件包含信息归发件人所在组织所有,发件人所在组织对该邮件拥有所有权利。请接收者注意保密,未经发件人书面许可,不得向任何第三方组织和个人透露本邮件所含信息。Information
> Security Notice: The information contained in this mail is solely property
> of the sender's organization.This mail communication is
> confidential.Recipients named above are obligated to maintain secrecy and
> are not permitted to disclose the contents of this communication to others.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20241115/2d0dca4e/attachment.htm>


More information about the openbmc mailing list