PRB: When You Change the Name of a Thread in Visual J# .NET, the New Name Does Not Appear in the Debugger (818439)
The information in this article applies to:
- Microsoft Visual J# .NET (2002)
- Microsoft Visual J# .NET (2003)
SYMPTOMSAlthough you can change the name of a thread by setting the Name property, the new name of the thread does not appear in the
debugger. Throughout the debugging session, the debugger displays the name that
is set for that thread the first time (either through the constructor or when
the Name property is set for the first time).CAUSEThis behavior occurs because the debugger displays the name
of the underlying user runtime thread. The underlying user runtime thread that
implements the Thread class has the name set only one time. During the construction of
the thread, the name of the thread is set when one of the following occurs:
- The constructor that has the name parameter is
called.
-or- - The Name property is set the first time.
You cannot change the name of the underlying runtime thread by
changing the Name property. STATUS This
behavior is by design.REFERENCESFor additional information about the Thread class and the Name property, visit the following Microsoft Web site: Content Maintenance:2404
Modification Type: | Major | Last Reviewed: | 8/7/2003 |
---|
Keywords: | kbAPI kbThread kbDebug kbprb KB818439 kbAudDeveloper |
---|
|