Menu

#74 Fail to watch variable values on DBX 5.7 on AIX

UNIX
open-accepted
nobody
5
2011-10-01
2011-09-01
Anonymous
No

Attached I send you a printscreen containing the error.
When sending commans to DBX, every one is followed by a ##dbx string, returning a "^systax error".
All value of those variables in watch debug windows are presented as a "^syntax error".
It supposed to send the commands to DBX without the trailing "##dbx".

Discussion

  • Bjarke Viksøe

    Bjarke Viksøe - 2011-09-02

    Thanks for the screenshot. It looks like DBX on this platform doesn't treat ## as an inline comment to be ignored.

     
  • Anonymous

    Anonymous - 2011-09-05

    I would like to re-open this bug.
    Take a look on the first screenshot I sent: when you add a new watch, the a variable valeu on watch window appears with "^sintax error".
    To prove you the trailing comment "##dbx" is the problem, I send you a second screenshot showing the commands sent directly to dbx, on command line.
    As you can see, the command is executed correctly, but the value of print is trailed by the syntax error.
    To correct is simple: don't send any comment to dbx, just commands.
    Thanks.

     
  • Anonymous

    Anonymous - 2011-09-05

    (dbx) stop at 654
    [21] stop at "prmext.pc":654
    (dbx) run rms_mc/rms_mc
    [21] stopped in main at line 654 in file "prmext.pc" ($t1)
    654 if (argc < 2)
    (dbx) print argv; ##dbx
    (nil)
    print argv; ##dbx
    ^ syntax error
    (dbx) print argv
    (nil)
    (dbx)

     
  • Bjarke Viksøe

    Bjarke Viksøe - 2011-10-01
    • status: open-rejected --> open-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB