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

** Changed in: zorba
       Status: In Progress => Fix Committed

** Description changed:

  query mm.xq:
  1  | for $x in 1 to 3
  2  | return
  3  |   $x
  
  (xqdb) bs -f q -l 3
  
- (xqdb) br -i 0
+ (xqdb) br -d 0
  
  !!!CRASH!!!

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/898575

Title:
  Debugger: crash when breakpoint remove

Status in Zorba - The XQuery Processor:
  Fix Committed

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!!!

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/898575/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to