Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

Viewing software under the hood at runtime

kedinikkedinik Registered User regular
I'm looking for a development environment that will allow me to:

1) Build and run a program
2) View all the class definitions, variables, function calls, etc, that exist at runtime.

I believe that there may be a .NET solution for me, where all the existing objects in the primary program self-describe themselves to a secondary program, but I haven't been able to find it.

kedinik on

Posts

  • khainkhain Registered User regular
    You can do this with Visual Studio for the languages that it supports, I believe Eclipse has this capability for Java and potentially other languages if someone has written an extension. As a note for this to work you normally need to build the program with the tool in question and may have to do so in a special debug mode.

  • KakodaimonosKakodaimonos Registered User regular
    Voila...

    .Net Reflector

    If you install with Visual Studio, you'll be able to even set breakpoints and step into the assemblies that you've reflected.

    If you want to be able to step through the .Net framework source code, you just need to point to the Microsoft source servers

    http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

  • DocDoc Registered User, ClubPA regular
    Yeah, any reason not to use a debugger in any given language? They are available for every language, ever.

    And you don't just get $5 off used games.
    WKC is $59.99 New. Used is $34.99.
    SO is $64.99 new used is $34.99.
    Eternal Sonatra new is $34.99 used is $17.99.
    You get a savings of 50% or more if your buying used.
  • LewishamLewisham Registered User regular
    Doc wrote: »
    Yeah, any reason not to use a debugger in any given language? They are available for every language, ever.

    ...unless you're talking about programmatically looking at software at runtime, in which case you need reflection.

  • kedinikkedinik Registered User regular
    Lewisham wrote: »
    Doc wrote: »
    Yeah, any reason not to use a debugger in any given language? They are available for every language, ever.

    ...unless you're talking about programmatically looking at software at runtime, in which case you need reflection.

    Yeah, that's what I'm talking about; I want to write a program that can generically summarize the runtime behavior of other programs, without needing to create specific breakpoints each time.

    Thank you all for the advice.

  • TavataarTavataar Registered User regular
    If you are working in Java you can use Yourkit to profile the JVM.

    -Tavataar
Sign In or Register to comment.