Click here to Skip to main content
15,909,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help with an unicode String returned by DeviceIoControl Pin
gabbana13-Jul-08 23:01
gabbana13-Jul-08 23:01 
GeneralRe: Help with an unicode String returned by DeviceIoControl Pin
gabbana13-Jul-08 23:22
gabbana13-Jul-08 23:22 
GeneralRe: Help with an unicode String returned by DeviceIoControl Pin
Mark Salsbery14-Jul-08 5:30
Mark Salsbery14-Jul-08 5:30 
GeneralRe: Help with an unicode String returned by DeviceIoControl Pin
David Crow14-Jul-08 8:27
David Crow14-Jul-08 8:27 
QuestionHow can I capture in Windows Mobile 5/6 keys like Message/Explorer/Windows Pin
Tili13-Jul-08 9:25
Tili13-Jul-08 9:25 
QuestionHow to make width of arrows at the right of CComboBox and CMFCColorButton the same? Pin
followait13-Jul-08 2:54
followait13-Jul-08 2:54 
AnswerRe: How to make width of arrows at the right of CComboBox and CMFCColorButton the same? Pin
Mark Salsbery13-Jul-08 10:15
Mark Salsbery13-Jul-08 10:15 
Questioncan not set breakpoint in release mode Pin
George_George13-Jul-08 0:31
George_George13-Jul-08 0:31 
Hello everyone,


For the following code, I can not set breakpoint in release mode, but the same command in WinDbg works fine in debug mode. Anything wrong?

Here is my Windbg command and output in release mode and source codes. I have tested in release mode breakpoint at foo does not take effect, but in debug mode it takes effect.

0:000> bp foo
Bp expression 'foo' could not be resolved, adding deferred bp
0:000> bp main
0:000> bl
 0 eu                      0001 (0001) (foo)
 1 e 00000001`40001000     0001 (0001)  0:**** Test64bitDebug!main

int foo (int a, int b)
{
 return a+b;
}
int main()
{
 int a1 = 100;
 int b1 = a1 + 100;
 a1 = foo (a1, b1);
 return 0;
}



thanks in advance,
George
QuestionRe: can not set breakpoint in release mode Pin
Ștefan-Mihai MOGA13-Jul-08 0:56
professionalȘtefan-Mihai MOGA13-Jul-08 0:56 
AnswerRe: can not set breakpoint in release mode Pin
George_George13-Jul-08 2:01
George_George13-Jul-08 2:01 
GeneralRe: can not set breakpoint in release mode Pin
Ștefan-Mihai MOGA13-Jul-08 4:17
professionalȘtefan-Mihai MOGA13-Jul-08 4:17 
GeneralRe: can not set breakpoint in release mode Pin
George_George14-Jul-08 22:19
George_George14-Jul-08 22:19 
GeneralRe: can not set breakpoint in release mode Pin
Ștefan-Mihai MOGA15-Jul-08 9:12
professionalȘtefan-Mihai MOGA15-Jul-08 9:12 
GeneralRe: can not set breakpoint in release mode Pin
George_George16-Jul-08 19:11
George_George16-Jul-08 19:11 
AnswerRe: can not set breakpoint in release mode Pin
Ștefan-Mihai MOGA17-Jul-08 8:30
professionalȘtefan-Mihai MOGA17-Jul-08 8:30 
GeneralRe: can not set breakpoint in release mode Pin
George_George17-Jul-08 21:01
George_George17-Jul-08 21:01 
AnswerRe: can not set breakpoint in release mode Pin
Stephen Hewitt13-Jul-08 15:11
Stephen Hewitt13-Jul-08 15:11 
GeneralRe: can not set breakpoint in release mode Pin
George_George13-Jul-08 19:47
George_George13-Jul-08 19:47 
AnswerRe: can not set breakpoint in release mode Pin
followait13-Jul-08 3:08
followait13-Jul-08 3:08 
GeneralRe: can not set breakpoint in release mode Pin
George_George13-Jul-08 19:45
George_George13-Jul-08 19:45 
AnswerRe: can not set breakpoint in release mode Pin
sudhir_Kumar13-Jul-08 20:02
sudhir_Kumar13-Jul-08 20:02 
GeneralRe: can not set breakpoint in release mode Pin
George_George13-Jul-08 21:23
George_George13-Jul-08 21:23 
GeneralRe: can not set breakpoint in release mode Pin
Stephen Hewitt13-Jul-08 21:31
Stephen Hewitt13-Jul-08 21:31 
GeneralRe: can not set breakpoint in release mode Pin
George_George13-Jul-08 21:34
George_George13-Jul-08 21:34 
GeneralRe: can not set breakpoint in release mode Pin
Stephen Hewitt13-Jul-08 21:38
Stephen Hewitt13-Jul-08 21:38 

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.