Debug Improvments on Windows (#3275)

* fix assert statements

* Add ORCA_INCLUDE_DEBUG_INFO to deps cmake

adds option ORCA_INCLUDE_DEBUG_INFO to deps build script to allow an alternative for RelWithDebInfo that works on windows

* add build type option to windows script

* update .gitignore to include build*
This commit is contained in:
Ocraftyone 2024-01-24 06:48:14 -05:00 committed by GitHub
parent 73481da6da
commit c4a66f36ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 84 additions and 35 deletions

View file

@ -156,7 +156,7 @@ void PressureEqualizer::process_layer(const std::string &gcode)
long PressureEqualizer::advance_segment_beyond_small_gap(const long idx_orig)
{
// this should only be run on the last extruding line before a gap
assert(m_gcode_lines[idx_cur_pos].extruding());
assert(m_gcode_lines[idx_orig].extruding());
double distance_traveled = 0.0;
// start at beginning of gap, advance till extrusion found or gap too big
for (auto idx_cur_pos = idx_orig + 1; idx_cur_pos < m_gcode_lines.size(); idx_cur_pos++) {