Board index » cppbuilder » CPU-Window on minus-sign
Ron Eggler @ work
![]() CBuilder Developer |
Ron Eggler @ work
![]() CBuilder Developer |
CPU-Window on minus-sign2005-05-03 06:58:19 PM cppbuilder22 Hi, When I'm running my Application in the IDE it gets back to the IDE and shows the CPU-Window when I'm entering a minus-sign('-') in one of my several TEdits. Why? How to prevent? Thanks! |
Andrue Cope [TeamB]
![]() CBuilder Developer |
2005-05-03 07:27:09 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
QuoteWhen I'm running my Application in the IDE it gets back to the IDE have breakpoints and at certain times (not always when I'm printing) the CPU wanders into the HP driver code and hits the breakpoint. What version of Builder are you using? IIRC BCB3 had an annoying habit of bringing the CPU window up when an AV occurred. In that case you can hit Ctrl+V or right click the execution pain and select 'View Source'. Of course if it's the hardcode breakpoint issue then you won't have the source and all you can do is continue running. -- Andrue Cope [TeamB] [Bicester, Uk] info.borland.com/newsgroups/guide.html |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-03 07:35:38 PM
Re:CPU-Window on minus-sign
Andrue Cope [TeamB] wrote:
QuoteRon Eggler @ work wrote: Quote
{smallsort} |
Andrue Cope [TeamB]
![]() CBuilder Developer |
2005-05-03 08:44:15 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
Quoteerm, when the CPU-Window appears i press just F9 and it continues several CPU instructions which cause the CPU to break off and do other things (they are used for entering Kernel mode and other low level stuff that). I don't know offhand if one of them specifically means "activate the de{*word*81}" but I think it does. Assuming the Builder IDE is the registered de{*word*81} it will stop execution, bring the CPU window up and wait just as if it had hit one of your breakpoints but without the normal breakpoint set highlighting. If you press [F9] then execution will continue as it would for one of your own breakpoints. As I noted in my other reply some vendors leave these instructions in place. Normally they don't cause a problem because people aren't normally running a de{*word*81} but I think that by having the de{*word*81} running you are activating this feature. -- Andrue Cope [TeamB] [Bicester, Uk] info.borland.com/newsgroups/guide.html |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2005-05-04 02:04:56 AM
Re:CPU-Window on minus-sign
"Ron Eggler @ work" < XXXX@XXXXX.COM >wrote in message
QuoteWhen I'm running my Application in the IDE it gets back to the If you were using something like StrToInt() in the TEDit's OnChange event, it would throw an exception since "-" is not a valid number. Gambit |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-04 05:14:25 PM
Re:CPU-Window on minus-sign
Remy Lebeau (TeamB) wrote:
Quote"Ron Eggler @ work" < XXXX@XXXXX.COM >wrote in message |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-04 05:17:11 PM
Re:CPU-Window on minus-signQuoteA hardcoded breakpoint is a CPU instruction to the OS to activate the QuoteAssuming the Builder IDE is the registered de{*word*81} it will stop |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-04 05:17:59 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
Quote>A hardcoded breakpoint is a CPU instruction to the OS to activate the |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-04 05:18:14 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
QuoteRemy Lebeau (TeamB) wrote: |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-04 05:20:20 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
QuoteRon Eggler @ work wrote: |
Andrue Cope [TeamB]
![]() CBuilder Developer |
2005-05-04 07:29:14 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
Quote>As I noted in my other reply some vendors leave these instructions breakpoint so I only floated the suggestion as a possibility. Where does the call stack indicate that you are when the program stops? What are the module names of the last few functions on the stack? -- Andrue Cope [TeamB] [Bicester, Uk] info.borland.com/newsgroups/guide.html |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-04 09:36:29 PM
Re:CPU-Window on minus-sign
Andrue Cope [TeamB] wrote:
QuoteRon Eggler @ work wrote: |
Andrue Cope [TeamB]
![]() CBuilder Developer |
2005-05-04 10:34:32 PM
Re:CPU-Window on minus-sign
Ron Eggler @ work wrote:
Quoteit's kinda strange because it only happens when the app is running in executable. This would be a logical feature for Microsoft/Intel to have implemented as it allows code to be shipped with breakpoints without fear of the EXE stopping. -- Andrue Cope [TeamB] [Bicester, Uk] info.borland.com/newsgroups/guide.html |
Ron Eggler @ work
![]() CBuilder Developer |
2005-05-09 04:00:21 PM
Re:CPU-Window on minus-sign
Andrue Cope [TeamB] wrote:
QuoteRon Eggler @ work wrote: |