Click here to Skip to main content
14,450,895 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: wife bought a new TV Pin
OriginalGriff13-Dec-19 22:18
communityengineerOriginalGriff13-Dec-19 22:18 
GeneralRe: wife bought a new TV Pin
RickZeeland13-Dec-19 23:36
communityengineerRickZeeland13-Dec-19 23:36 
GeneralRe: wife bought a new TV Pin
OriginalGriff14-Dec-19 0:55
communityengineerOriginalGriff14-Dec-19 0:55 
GeneralRe: wife bought a new TV Pin
Mark_Wallace14-Dec-19 21:56
MemberMark_Wallace14-Dec-19 21:56 
GeneralRe: wife bought a new TV Pin
dandy7214-Dec-19 13:31
Memberdandy7214-Dec-19 13:31 
GeneralRe: wife bought a new TV Pin
lopatir14-Dec-19 20:33
Memberlopatir14-Dec-19 20:33 
GeneralOn Jitting and virtual calls Pin
honey the codewitch13-Dec-19 21:43
mvahoney the codewitch13-Dec-19 21:43 
GeneralRe: On Jitting and virtual calls Pin
harold aptroot13-Dec-19 22:19
Memberharold aptroot13-Dec-19 22:19 
Go into the debug settings, uncheck "suppress jit optimization on module load", debug a release build. Or you can throw an exception near the code you want to see (throw it conditionally in a way that you know is true but the compiler won't know, to stop it optimizing stuff out), let the program die and attach debugger when prompted.

E: you can open the disassembly window anyway, but if you don't do those things then you get the deliberately deoptimized debug version, which is not representative of the program the way it will really be executed.

honey the codewitch wrote:
Some methods can be resolved using a jump because all they do is forward calls to another method.

This can happen a lot in OOP when you have base classes calling derived classes through virtual functions.
I don't really get what you have in mind here, otherwise I would try it myself.

modified 14-Dec-19 9:32am.

GeneralRe: On Jitting and virtual calls Pin
honey the codewitch13-Dec-19 22:24
mvahoney the codewitch13-Dec-19 22:24 
GeneralRe: On Jitting and virtual calls Pin
Jörgen Andersson14-Dec-19 0:06
communityengineerJörgen Andersson14-Dec-19 0:06 
GeneralRe: On Jitting and virtual calls Pin
honey the codewitch14-Dec-19 0:07
mvahoney the codewitch14-Dec-19 0:07 
GeneralNothing to do with computers, or development, but ... the headline just cracks me up Pin
OriginalGriff13-Dec-19 12:37
communityengineerOriginalGriff13-Dec-19 12:37 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
Super Lloyd13-Dec-19 15:31
MemberSuper Lloyd13-Dec-19 15:31 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
honey the codewitch13-Dec-19 21:37
mvahoney the codewitch13-Dec-19 21:37 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
devenv.exe13-Dec-19 22:10
professionaldevenv.exe13-Dec-19 22:10 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
Mycroft Holmes14-Dec-19 13:02
MemberMycroft Holmes14-Dec-19 13:02 
Generalnow this is a change Pin
lopatir13-Dec-19 6:45
Memberlopatir13-Dec-19 6:45 
GeneralRe: now this is a change Pin
CodeWraith13-Dec-19 7:11
MemberCodeWraith13-Dec-19 7:11 
GeneralARGHHH! But it worked when it was broken Pin
honey the codewitch13-Dec-19 5:58
mvahoney the codewitch13-Dec-19 5:58 
GeneralRe: ARGHHH! But it worked when it was broken Pin
Greg Utas13-Dec-19 8:12
professionalGreg Utas13-Dec-19 8:12 
GeneralRe: ARGHHH! But it worked when it was broken Pin
  Forogar  13-Dec-19 8:58
professional  Forogar  13-Dec-19 8:58 
GeneralRe: ARGHHH! But it worked when it was broken Pin
Greg Utas13-Dec-19 9:15
professionalGreg Utas13-Dec-19 9:15 
GeneralThought of the Day Pin
OriginalGriff13-Dec-19 5:55
communityengineerOriginalGriff13-Dec-19 5:55 
GeneralRe: Thought of the Day Pin
W Balboos13-Dec-19 6:04
mveW Balboos13-Dec-19 6:04 
NewsRe: Thought of the Day Pin
lopatir13-Dec-19 6:05
Memberlopatir13-Dec-19 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.