Author Topic: No conditional breakpoints  (Read 3245 times)

jorick

  • Senior Community Member
  • Posts: 407
  • Hero Points: 17
No conditional breakpoints
« on: June 17, 2025, 07:29:11 PM »
I'm debugging a remote app written in C on an STM32 processor by attaching to a remote GDB server (JLinkGDBServerCLExe).  I'm trying to set a conditional breakpoint but all the conditional fields are disabled.  Is there any way to set a conditional breakpoint?

SlickEdit Pro 2024 (v29.0.1.0)

Serial number: [Redacted]
Licensed number of users: Single user
License file: /Library/Application Support/SlickEdit/29/slickedit.lic

Build Date: February 10, 2025
Emulation: CodeWright

OS: macOS
OS Version: 15.5.0
Processor Architecture: Apple M3 Max 64 bit (14 cores)

Memory: 99% Load, 36733MB/36864MB Virtual
Shell Information: "/Applications/SlickEditPro2024.app/Contents/MacOS/secsh" -i
Screen Size: 1728 x 1117 (0 0), 2560 x 1440 (-1653 -1440), 2560 x 1440 (907 -1440)

Project Type: Gnuc
Language: .c (C/C++)
Encoding: UTF-8, no signature

Installation Directory: /Applications/SlickEditPro2024.app/Contents/
Configuration Directory: /Users/ricky/Library/Application Support/SlickEdit/29.0.1/
Spill File: /tmp/slkspill.ricky.837

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7064
  • Hero Points: 534
Re: No conditional breakpoints
« Reply #1 on: June 17, 2025, 10:00:22 PM »
If you use "Set Watchpoint" to add the break point, the conditional fields aren't supported. Trying using Set Breakpoint or Toggle Breakpoint.

jorick

  • Senior Community Member
  • Posts: 407
  • Hero Points: 17
Re: No conditional breakpoints
« Reply #2 on: June 18, 2025, 05:27:48 PM »
This doesn't work.  If I click the + (create a new breakpoint or watchpoint) in the Breakpoints window, I get a Breakpoint Properties box that allows me to set a data breakpoint but the conditions can't be set.  If I right click on the breakpoint and select Properties, it brings up a Watchpoint Properties box which means the breakpoint got converted to a watchpoint.

If I use the Debug->Set Breakpoint menu item, I get a Breakpoint Properties box where the Data tab is disabled.  Right clicking on the breakpoint in the Breakpoints window and clicking Properties or using the Edit Breakpoint Properties button in the Breakpoints window will bring up the Breakpoint Properties box where the Data tab is still disabled.  The Address tab has the Conditions enabled but I need a pure data breakpoint where the breakpoint asserts if the variable is set to 0 regardless of the PC contents.