Menu

#282 Windows: Let 32bit C::B break a 64bit debugee when debugging

Undefined
wont-fix
debugger (23)
Feature_Request
2022-06-25
2016-01-03
ollydbg
No

Re: CB with MinGW x64 and wxWidgets: linker can't find wxmsw30 This is the discussion, and we should follow the way Qtcreator did.

Discussion

  • Teodor Petrov

    Teodor Petrov - 2016-01-19
    • Type: Undefined --> Feature_Request
     
  • bluehazzard

    bluehazzard - 2019-01-20
    • assigned_to: bluehazzard
     
  • bluehazzard

    bluehazzard - 2019-01-20

    We probably can close this, because nightlies are 64bit now by default.

     
  • Teodor Petrov

    Teodor Petrov - 2019-01-21

    I doubt... The current debugging experience on windows is quite bad. Ollydbg fixed one of the issues, but I'm sure we have more.

    Also I hope we'll have a 32bit release, because I'm sure there would be a lot of people which would need this release.

    Also now it is important to make sure that 64bit cb could break 32bit executables.

     
  • ollydbg

    ollydbg - 2019-01-22

    64bit C::B can't break the 32bit debugee. (I have experience this issue months ago). To solve this issue, we need some "bridge", which means, if we wan't to break a 32bit debugee, we need a "bridge" 32bit executable which can call the DebugBreak function call. It's the same for debugging 64bit debugee. I believe Codelite also use this way.

     
  • bluehazzard

    bluehazzard - 2019-01-22

    wow, i am impressed how fuXXXX up this is. Microsoft at the best again... So there is no way around a second binary...
    related qt creator commit with some usefull information:
    qtcreator commit for breaking debugger
    qt creator related aapplication:
    qtcreator debugger interrupt application

    does this extend to killing the application also? Or only breaking the debugger?

    [edit:] Does something speaks against using always the external application? I think this would reduce the code maintaining...

     

    Last edit: bluehazzard 2019-01-22
  • Andrew Cottrell

    Andrew Cottrell - 2022-06-23

    IMHO I do not think it is worth doing anything to fix this as there are not allot of devs using C::B for 32bit compared to 64bit. So long as there is a C::B 32bit release available or build able for devs to use then they can use this for 32bit development instead of someone spending time resolving this like qtcreator did as there are more important issues/bugs to work on.

     
  • bluehazzard

    bluehazzard - 2022-06-23
    • status: open --> wont-fix
     
  • bluehazzard

    bluehazzard - 2022-06-23

    I am with you... Closing this for now....

     
    👍
    1
  • ollydbg

    ollydbg - 2022-06-24

    I also agree, I am fully working under 64bit Windows system, so all the tool-chain I use are 64 bit now.

     
  • Morten MacFly

    Morten MacFly - 2022-06-24
     
  • Morten MacFly

    Morten MacFly - 2022-06-24

    There is one thing which is bad: A lot embedded compilers and processors are 32 bit and have a gcc compatible tool chain. This segment we loose, which is bad.

     
    • Andrew Cottrell

      Andrew Cottrell - 2022-06-24

      How exactly are you loosing this segment as I said "So long as there is a C::B 32bit release available or build able for devs to use then they can use this for 32bit development...."?
      How is is having a 32buit C::B release or having the abiliy to build a 32bit C::B release bad?

       
      • Morten MacFly

        Morten MacFly - 2022-06-25

        When we discussed the last release, most devs voted not to provide the 32 bit version anymore. But in the end we did. We should, however, always strive for simplicity and provide a one-for-all solution. Since people also don't read these days they will download the first one available and if it doesn't work they will either flood the forums or just use another IDE. That's why I believe we will use the embedded 32 bit people on the long run.

        If I look at:
        https://github.com/qt-creator/qt-creator/commit/2bc24b7a25ba7faf523166bbb75e36a9e7528124
        ...as ollydbg suggested it doesn't seem too hard? Or am I missing some show-stoppers?

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.