[haiku-bugs] Re: [Haiku] #8286: Debugger should show the address of stack variables

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 18 Jul 2012 13:04:43 -0000

#8286: Debugger should show the address of stack variables
-------------------------------------+----------------------------
   Reporter:  yourpalal              |      Owner:  anevilyak
       Type:  enhancement            |     Status:  in-progress
   Priority:  low                    |  Milestone:  Unscheduled
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  1                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:8 anevilyak]:
 > Just for clarification, was the idea there that the detail view would
 occupy the lower half of the variables view or something in that vein?

 Yes, though probably not the half, but significantly less (a split view
 anyway).

 > Understood. As an initial implementation interface-wise, I had thought
 of maybe having a drop down list of available types for the user to choose
 from, perhaps with some option to type-ahead filter the list, since a
 freeform parser would be a bit more complex.

 All available types may be *a lot*, particularly when large libraries are
 involved. So free form with autocompletion would be nice (I would keep it
 simple first -- just typename + `*`s -- can be improved later). Very nice
 would be direct options to cast to the actual subclasses of the object
 (the interesting part is deducing the actual type of the object), since
 that is something that comes up often. Moreover a standard cast is pointer
 to array, at least for C/C++. Which reminds me, that the type cast feature
 needs to be source language driven, i.e. `SourceLanguage` needs to provide
 the cast options that make sense and also needs to be involved in parsing
 the free form input.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8286#comment:9>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: