Debugger: crash when breakpoint remove

Bug #898575 reported by Gabriel Petrovay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Gabriel Petrovay

Bug Description

query mm.xq:
1 | for $x in 1 to 3
2 | return
3 | $x

(xqdb) bs -f q -l 3

(xqdb) br -d 0

!!!CRASH!!!

Related branches

summary: - Debugger: Crash when breakpoint remove
+ Debugger: crash when breakpoint remove
Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

The problem was with unprotected call to:
theRuntime->removeBreakpoint(lBID)

which throws an exception if the breakpoint id is wrong.

Now surrounded with try catch and properly displaying the information in the client.

Changed in zorba:
status: New → In Progress
status: In Progress → Fix Committed
description: updated
Changed in zorba:
milestone: none → 2.2
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.