[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Digital Ladebug debugger |
|
Moderator: | TLE::LUCIA |
|
Created: | Fri Feb 28 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 969 |
Total number of notes: | 3959 |
839.0. "setenv command not well documented." by GEMGRP::PIEPER () Thu Feb 13 1997 17:11
(ladebug) setenv NTHREADS 1
setenv NTHREADS 1
^
Unable to parse input as legal command or C expression.
(ladebug) setenv NTHREADS "1"
(ladebug) help setenv
setenv [<env_variable> [<value>]]
Sets the value of the specified environment variable. If no variable
is specified, the command displays the values of all environment
variables. If a variable is specified but no value is specified, then
the variable is set to NULL.
This command is not for the current debuggee's environment, but for
the environment of any debuggees subsequently created with fork(2) or
with subsequent 'run' or 'rerun' commands.
'export' and 'setenv' are synonyms.
See the Ladebug Debugger Manual for more information on commands that
manipulate the environment of subsequent debuggees.
(ladebug)
The documentation here is very misleading. The value '1' is a legal C
expression. The documentation should _say_ you need quotes if you do, otherwise
setenv should take obvious numeric values.
T.R | Title | User | Personal Name | Date | Lines |
---|
839.1 | This is a bug | VIRRUS::diewald | Here In Soap Opera Central... | Mon Feb 17 1997 14:31 | 2 |
| The grammar for parsing the command needs to be fixed to handle
this case.
|