2024-11-23 20:39 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000024mercuryBugpublic2007-10-31 17:45
Reporterpbone 
Assigned Tojuliensf 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000024: Debugger commands inconsistant with help message.
DescriptionDuring a debugging session the "help forwards" information message describes a command called "fail" which dosn't appear to be supported. I don't know if it's supposed to work or not.
Additional Informationmdb> help forward
forward - Commands that move execution forward.
             The forward commands are `step', `goto', `next', `finish',
             `fail', `exception', `return', `user, `forward',
             `mindepth', `maxdepth' and `continue'.

mdb> fail
Unknown command `fail'. Give the command `help' for help.

The command 'help fail' returns the main help page.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000042

juliensf (administrator)

It's not mentioned in the user's guide but there is code to implement it
in the trace library, in trace/mercury_trace_cmd_forward.[ch], although
the code to enable that command in trace/mercury_trace_internal.c has
been omitted. It's easy to fix, either enable it properly or delete it.
It's just a question of which one.

~0000043

juliensf (administrator)

zs said it should exist. I'll post a fix for this problem shortly.

~0000044

juliensf (administrator)

The current implementation of the `fail' command is buggy which is
why some of the documentation was already commented out. I've
removed the rest of the user visible documentation, i.e. the reference
to it from mdb's help message.

I've added to fail to mdb's internal table of commands, so that developers
can use it if they wish.
+Notes

-Issue History
Date Modified Username Field Change
2007-10-31 15:56 pbone New Issue
2007-10-31 16:31 juliensf Note Added: 0000042
2007-10-31 16:31 juliensf Status new => feedback
2007-10-31 16:58 juliensf Status feedback => assigned
2007-10-31 16:58 juliensf Assigned To => juliensf
2007-10-31 16:58 juliensf Note Added: 0000043
2007-10-31 17:45 juliensf Status assigned => resolved
2007-10-31 17:45 juliensf Resolution open => fixed
2007-10-31 17:45 juliensf Note Added: 0000044
+Issue History