ferrandi / PandA-bambu

PandA-bambu public repository
GNU General Public License v3.0
240 stars 46 forks source link

Build Bambu with --debug parameter #326

Closed sheldonz7 closed 4 months ago

sheldonz7 commented 4 months ago

Hi,

I was trying to print those debugging messages in Bambu to investigate its execution flow, but even after I configured the project with --enable-debug flag, the --debug runtime parameter still doesn't appear in Bambu. When I pass this parameter to Bambu program, e.g.,

bambu XXX --debug 4

it throws error "Bad Parameters format", as it should since --debug parameter is not supported. How should I build Bambu so it supports the --debug parameter?

Thanks.

Ansaya commented 4 months ago

Hi, I have a build from the dev/panda branch configured with --disable-release, and passing the --debug parameter works fine. These kinds of options have not been modified in a long time. Thus, I am expecting them to work the same on any branch. What branch are you compiling? Could you also share the full configure command line? Could you also share the full command line used to call bambu?

sheldonz7 commented 4 months ago

hi, oops, I didn't put the --disable-release flag when configure the project, thought it won't conflict with debug. After putting that flag in it works fine on the dev/panda branch. Thanks a lot!

Cheers